Commit graph

24 commits

Author SHA1 Message Date
Tim Watson
3b58935b86 Load plugins dynamically from source
This patch updates rebar_core to look for missing plugins (i.e. those
that aren't found on the code path at runtime) in a configurable
plugin directory, and dynamically compile and load them at runtime.

By default, the directory "plugins" is searched, although this can be
overriden by setting the plugin_dir in your rebar.config.
2011-08-29 17:27:45 +02:00
Uwe Dauernheim
f4817caa00 Fix typo: 'dependency' 2011-08-21 17:52:07 +02:00
joewilliams
7ac00a73e8 Remove rebar_dialyzer 2011-06-06 17:12:08 +02:00
Andrew Tunnell-Jones
aef6c70f59 Change arch-specific port_sources to take a list
Change the second parameter of a regex tagged port_source from being a
filename or wildcard to being a list of filenames or wildcards.

Previously: {"R14", "c_src/*.c"}
Now: {"R14", ["c_src/*.c"]}

Motivation for change is to avoid repeating regexes.
2011-05-28 15:31:51 +02:00
Tuncer Ayaz
8711d9517f Document so_specs 2011-04-30 15:09:46 +02:00
Tuncer Ayaz
67af251d52 Remove lfe_opts (suggested by Tim Dysinger) 2011-04-11 14:08:39 +02:00
Tim Watson
2d385970bf Pass extra params to ct (thanks Mickael Remond)
This patch adds a `ct_extra_params` option to rebar.config, the value
of which is appended to the shell command when executing common test.
2011-04-06 20:11:13 +02:00
Tuncer Ayaz
db706ab99c Document xref options 2011-04-06 19:04:52 +02:00
Tuncer Ayaz
be209f24ff Make debug_info default
Add no_debug_info option.
Remove debug_info=1 option.
2011-03-30 11:19:37 +02:00
Tuncer Ayaz
86753c4e5d Cleanup rebar.config.sample 2011-03-12 16:48:16 +01:00
Tuncer Ayaz
4ceb9e07a3 Deprecate old hooks 2011-03-12 16:48:16 +01:00
Tim Watson
e76770511a Add pre and post script support for all commands
This change makes it possible to assign pre/post scripts to all
rebar commands. This allows users fine grained control over
when scripts and/or shell commands should be executed, where such
extensions are absolutely needed.

Several examples have been added to the rebar.config.sample file.
2011-03-12 16:31:41 +01:00
Tuncer Ayaz
e407838bab Document eunit_first_files 2011-02-13 18:11:29 +01:00
Tuncer Ayaz
c466076ffb Clean up emacs file local variables 2011-01-31 17:55:36 +01:00
Joseph Wayne Norton
5b05e54cda Add otp_release to platform string 2011-01-09 16:06:51 +01:00
Andrew Thompson
2387a8e966 Document the pre and post script hooks 2010-11-21 21:58:57 +01:00
Tuncer Ayaz
b2e7e5b787 Fix dialyzer_opts documentation 2010-11-20 23:31:35 +01:00
Andrew Thompson
9cafd06bdf Document edoc_opts 2010-11-20 00:13:45 +01:00
Tuncer Ayaz
2d2aed627f Refactor Dialyzer support to make it more usable 2010-10-25 22:37:18 +02:00
Tuncer Ayaz
852edb0e63 Document validate_app_modules option 2010-10-10 22:23:17 +02:00
Andrew Thompson
f2244b26be Add optional eunit coverage report to terminal
Add a coverage report similar to the one output to index.html except
that it is output to the terminal if the new rebar.conf option
'cover_print_enabled' is set to true.
2010-10-06 21:05:13 +02:00
Dave Smith
5d78928329 Fix bug 549; example deps in rebar.config.sample were wrong, as identified by David Dossot 2010-08-20 07:13:37 -06:00
Tuncer Ayaz
952b838d72 Document platform_define in sample config 2010-06-12 13:38:59 +02:00
Dave Smith
cad24b28fc Adding rebar.config.sample from vagabond (http://bitbucket.org/vagabond/rebar) 2010-06-03 13:36:48 -06:00