Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix config handling in root_dir | Tim Watson | 2011-10-05 | 1 | -1/+12 |
| | | | | | Avoid overwriting custom config (passed with -C) when we are processing the base_dir in rebar_core. | ||||
* | Fix missing plugin warnings | Tim Watson | 2011-09-20 | 1 | -1/+1 |
| | | | | | | This patch fixes the warning logging when the number of missing plugins is greater than one. The current code only works by accident, when a single plugin is all that is missing. | ||||
* | Search plugin sources in base_dir and plugin_dir | Tuncer Ayaz | 2011-08-29 | 1 | -3/+7 |
| | |||||
* | Only compile relevant plugin sources | Tuncer Ayaz | 2011-08-29 | 1 | -1/+7 |
| | |||||
* | Simplify check for empty list | Tuncer Ayaz | 2011-08-29 | 1 | -1/+1 |
| | |||||
* | Load plugins dynamically from source | Tim Watson | 2011-08-29 | 1 | -5/+49 |
| | | | | | | | | | 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. | ||||
* | Log a more descriptive message | Tuncer Ayaz | 2011-08-23 | 1 | -1/+2 |
| | |||||
* | Rename rebar_plugins to plugins for consistency | Tuncer Ayaz | 2011-08-16 | 1 | -1/+1 |
| | |||||
* | Do not warn if pre_/post_ cmd is not available | Tuncer Ayaz | 2011-07-08 | 1 | -2/+9 |
| | |||||
* | Add support for $HOME/.rebar/config | Tuncer Ayaz | 2011-07-06 | 1 | -5/+5 |
| | |||||
* | Allow plugins to run before/after a rebar command. | Tim Watson | 2011-05-23 | 1 | -1/+20 |
| | | | | | | | | | | | | | | | | | | | This patch makes a small change in rebar_core that checks the list of valid plugins to see if any of them export a pre/post processing function for the current command. This logic is applied only to the plugins and allows plugin authors to hook into rebar's execution by using a naming convention that matches the one used for scripting hooks. Example: ```erlang -module(my_rebar_plugin). -export([pre_compile/2]). pre_compile(Config, AppFile) -> rebar_log:log(debug, "PRECOMPILE: ~p:~p~n", [AppFile, Config]), ok. ``` | ||||
* | Add support for command-specific env for hooks | Tuncer Ayaz | 2011-04-21 | 1 | -6/+14 |
| | |||||
* | Simplify hook changes to rebar_core | Tuncer Ayaz | 2011-03-12 | 1 | -11/+5 |
| | |||||
* | Add pre and post script support for all commands | Tim Watson | 2011-03-12 | 1 | -1/+17 |
| | | | | | | | | | 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. | ||||
* | Convert the entries in the code path to absolute paths | Juan Jose Comellas | 2011-02-26 | 1 | -0/+4 |
| | | | | | | | Rebar will exit with {error,bad_directory} when trying to restore the code path after it has finished working on a subdirectory if there are invalid relative paths in it. The problem was seen when executing the last line of rebar_erlc_compiler:doterl_compile/3 (true = code:set_path(CurrPath)). | ||||
* | Use erlang:function_exported/3 | Tuncer Ayaz | 2011-02-21 | 1 | -2/+2 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -16/+24 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Move BUILD_TIME and VCS_INFO macros | Tim Watson | 2011-01-29 | 1 | -8/+0 |
| | | | | | | I have moved these macros from rebar_core.erl to rebar.erl in order to prevent eunit tests from failing (which they currently are). | ||||
* | Fix circular dependency | Tuncer Ayaz | 2011-01-27 | 1 | -39/+1 |
| | |||||
* | Add support for abbreviated command names | Klas Johansson | 2011-01-24 | 1 | -11/+10 |
| | | | | | | | | | | | | | | | | | | | This change makes it possible to type the beginning (the prefix) of a command name and rebar will guess the full name of the command, thereby saving the user precious keystrokes. As long as the prefix matches only one command, rebar runs that command, otherwise rebar prints a list of candidate command names. The "-" character is considered to be a word separator and the prefix matching is done per word. Example prefix matches: co ==> compile cl ==> clean create ==> create create-a ==> create-app c-a ==> create-app c-app ==> create-app | ||||
* | Move command line handling funs into rebar.erl | Tuncer Ayaz | 2011-01-24 | 1 | -172/+3 |
| | |||||
* | Simplify rebar_core | Tuncer Ayaz | 2011-01-13 | 1 | -23/+17 |
| | |||||
* | Fix typos | Tuncer Ayaz | 2011-01-13 | 1 | -2/+2 |
| | |||||
* | Fix code clarity | Tuncer Ayaz | 2011-01-13 | 1 | -2/+3 |
| | |||||
* | Implement update-deps and disable auto update | Tuncer Ayaz | 2010-12-17 | 1 | -0/+1 |
| | |||||
* | Add possibility to specify rebar config for the "main" application | Anders | 2010-11-09 | 1 | -6/+13 |
| | |||||
* | Improve error logging when running a command fails | Andrew Thompson | 2010-10-29 | 1 | -2/+5 |
| | | | | | Make the error message newline terminated and, if possible, log the name of the module in which the failure occured. | ||||
* | Tidier improvements | Kostis Sagonas | 2010-10-26 | 1 | -9/+10 |
| | |||||
* | Refactor Dialyzer support to make it more usable | Tuncer Ayaz | 2010-10-25 | 1 | -3/+3 |
| | |||||
* | Dialyzer related cleanups | Kostis Sagonas | 2010-10-10 | 1 | -3/+3 |
| | |||||
* | Fix dialyzer warning. Thanks Kostis | Tuncer Ayaz | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | Fix another filename:join/2 warning. Thanks Kostis | Tuncer Ayaz | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | Remove 'install' from available commands list | Tuncer Ayaz | 2010-08-25 | 1 | -1/+0 |
| | |||||
* | Warn when a command is not implemented. Fail when no supplied commands are ↵ | Andrew Thompson | 2010-07-25 | 1 | -1/+21 |
| | | | | | | | | | | implemented Rebar currently doesn't give any feedback on an invalid command. This change makes rebar keep track of how many operations each command triggers, if a particular command doesn't change the count, there were no modules implementing it. If at the end of handling all commands, tje count is 0, none of the supplied commands were valid and ?FAIL is called to trigger a non zero exit status. | ||||
* | Fix bug 629; updated help for new common_test command | Dave Smith | 2010-08-20 | 1 | -4/+1 |
| | |||||
* | Fix bug 438; add support for listing available templates | Dave Smith | 2010-08-20 | 1 | -0/+1 |
| | |||||
* | Document doc command | Tuncer Ayaz | 2010-06-30 | 1 | -0/+2 |
| | |||||
* | Add support for embedding VCS info into the version data | Dave Smith | 2010-06-22 | 1 | -1/+5 |
| | |||||
* | Change semantics of skip_deps=true such that deps still get pre/post ↵ | Dave Smith | 2010-06-21 | 1 | -10/+48 |
| | | | | processed, just not actually run | ||||
* | Bugfix call to lists:member/2 in ulist/2 | Klas Johansson | 2010-06-19 | 1 | -1/+1 |
| | | | | | Change from lists:is_member/2 to lists:member/2, since the former doesn't exist (the bug only affects rebar_plugins). | ||||
* | Re-adding support for plugin modules | Dave Smith | 2010-06-09 | 1 | -1/+39 |
| | | | | | --HG-- extra : rebase_source : 90052500da62af1d32337f2d540acb39fdf67db4 | ||||
* | Heavy-duty refactor to support truly transitive dependencies | Dave Smith | 2010-06-09 | 1 | -127/+66 |
| | | | | | --HG-- extra : rebase_source : 41c7f1c337a7cb63582aecd7b87ba998b40ba3aa | ||||
* | Slightly different fix for bug#5 that avoids running preprocess twice | Dave Smith | 2010-06-08 | 1 | -15/+3 |
| | |||||
* | Adding rt for bug 5 | Dave Smith | 2010-06-04 | 1 | -7/+8 |
| | |||||
* | Minor cleanup of acc_modules for readability | Dave Smith | 2010-06-03 | 1 | -5/+7 |
| | |||||
* | Refactor/simplify things since we only run one command at a time (versus a ↵ | Dave Smith | 2010-06-03 | 1 | -26/+23 |
| | | | | string of them) | ||||
* | merge ssh://hg@bitbucket.org/basho/rebar | Bob Ippolito | 2010-05-15 | 1 | -1/+1 |
|\ | |||||
| * | comment typo | Bob Ippolito | 2010-05-08 | 1 | -1/+1 |
| | | |||||
| * | Make 'command does not apply' warning into a warning | Jeremy Raymond | 2010-05-11 | 1 | -1/+1 |
| | |