summaryrefslogtreecommitdiff
path: root/src/rebar.erl
Commit message (Collapse)AuthorAgeFilesLines
* Fix #56 (always-on recursion)Tuncer Ayaz2014-03-111-7/+20
| | | | | | | | | | | | | | | | | | Always-on recursive application of all rebar commands causes too many issues. Recursive application is required for: 1. dealing with dependencies: get-deps, update-deps, and compile of deps right after get-deps or update-deps 2. projects with a riak-like apps/ project structure and dev process The vast majority of projects are not structured like riak. Therefore, moving forward it's best to (by default) restrict recursive behavior to dealing with deps. This commit does that and also adds command line and rebar.config options for controlling or configuring recursion. Also, we introduce two meta commands: prepare-deps (equivalent to rebar -r get-deps compile) and refresh-deps (equivalent to rebar -r update-deps compile). riak-like projects can extend the list of recursive commands (to include 'eunit' and 'compile') by adding {recursive_cmds, [eunit, compile]} to rebar.config.
* docs: fix #228Tuncer Ayaz2014-02-251-5/+6
|
* Mention rebar -c/--commandsTuncer Ayaz2014-02-241-0/+2
|
* Document support for abbreviated commandsTuncer Ayaz2014-02-241-0/+10
|
* Add documentationAndrew Thompson2014-02-071-0/+2
|
* allow suite[s] or test[s] as options for eunit and ctAndrew J. Stone2014-02-051-31/+31
|
* Merge pull request #191 from tuncer/rename-modulesJared Morrow2014-01-141-5/+5
|\ | | | | Fix #187 (rename getopt and mustache)
| * Fix #187 (rename getopt to rebar_getopt)Tuncer Ayaz2014-01-011-5/+5
| | | | | | | | While at it, update getopt.erl to git rev 78eda3b.
* | Print a more appropriate message on 'rebar info'Tuncer Ayaz2014-01-011-1/+3
|/ | | | | | | To avoid treating plugins' info/2 functions as commands, we catch calls to 'rebar info'. Previously (4b8c81fb) we simply printed the help string, but it's much more informative to print the following: Command 'info' not understood or not applicable
* Add command to rebar:command_names/0Pierre Fenoll2013-12-191-0/+1
|
* Add a library templatePierre Fenoll2013-12-191-0/+1
|
* Fix is_verbose/1 helper functionTuncer Ayaz2013-12-061-14/+21
|
* Change default log level to 'warn' and introduce -q/--quietTuncer Ayaz2013-12-061-9/+16
|
* Make list of commands (for unabbreviation) easier to maintainTuncer Ayaz2013-12-041-5/+26
| | | | | It's easier to modify the list with each command on a separate line. The shell completion scripts have already been modified that way.
* Document 'rebar help <CMD1> <CMD2>'Tuncer Ayaz2013-06-291-0/+3
|
* Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msgTuncer Ayaz2012-12-311-11/+45
| | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message
* Document escriptize commandTuncer Ayaz2012-11-191-3/+6
|
* Fix Dialyzer warning in rebar:run/2Tuncer Ayaz2012-11-111-1/+1
|
* Expose Erlang API for invoking rebarDave Smith2012-11-061-0/+7
|
* Fix fprof use (-p/--profile)Tuncer Ayaz2012-09-261-4/+3
|
* Cleanup and commentTuncer Ayaz2012-08-201-7/+10
|
* Add experimental tests= filter without eunit suitesRoberto Ostinelli2012-08-201-0/+5
|
* Add experimental tests= filter for eunit suitesRoberto Ostinelli2012-08-111-1/+3
|
* Replace test-compile with compile_only=true optionTuncer Ayaz2012-08-091-3/+1
|
* Fix -c typo (Noticed-by: Joe Norton)Tuncer Ayaz2012-07-281-1/+1
|
* Add 'qc' cmd and rename eunit-compile to test-compileTuncer Ayaz2012-07-231-4/+7
|
* Add 'eunit-compile' cmd (Suggested-by: Joe Norton)Tuncer Ayaz2012-07-231-4/+4
|
* Do not use application:set_envTuncer Ayaz2012-07-231-87/+106
|
* Remove shared stateTuncer Ayaz2012-07-131-7/+6
|
* Allow crypto to already be loaded when starting rebarKresten Krab Thorup2012-07-111-1/+4
|
* Initial version of "rebar shell" commandKresten Krab Thorup2012-07-111-1/+2
| | | | | | | For now, this is just a proof of concept; would make sense to add a lot of things, such as quick access to invoking rebar itself (with approproate code reloading), as well as an eunit-aware version so that tests could be run interactively.
* Update -c stringTuncer Ayaz2012-06-211-2/+2
|
* Fix whitespace errorsTuncer Ayaz2012-06-081-2/+4
|
* Introduce -k flagDave Smith2012-06-081-2/+6
|
* Use delayed_halt everywhereDave Smith2012-06-081-4/+4
|
* Move to major.minor.patch release version; add OTP build versionDave Smith2012-06-041-2/+6
| | | | version info
* Add rebar_utils:delayed_halt/1Tuncer Ayaz2012-02-161-3/+1
|
* Cache vsn info to avoid expensive vcs cmd callsYurii Rashkovskii2012-02-021-0/+3
|
* Fix -D and -v handling with new getopt.erlTuncer Ayaz2012-01-291-3/+13
|
* Document verbosity levelTuncer Ayaz2012-01-171-1/+2
|
* Support different log levelsTuncer Ayaz2012-01-171-3/+11
|
* Deprecate ct suite= option for suites= optionMagnus Klaar2012-01-061-1/+1
|
* Fix help text formattingTuncer Ayaz2011-12-161-1/+1
|
* Remove gratuitous prefix in error logTuncer Ayaz2011-11-081-1/+1
|
* Fix formattingTuncer Ayaz2011-10-261-2/+2
|
* When profiling, save analysis results to diskDave Smith2011-10-251-3/+6
|
* Add support for -p flag to profile rebar runDave Smith2011-10-251-2/+17
|
* Add -D optionTuncer Ayaz2011-10-221-0/+4
|
* Add overlay command to run overlays onlySteven Gravell2011-10-201-1/+2
| | | | | | | | required for building on a different machine to what your live config is kept on. This way you can build on one machine, distribute to new machine, then run overlays against a live config to prevent accidently running code against a live config in a development or ci environment.
* Respect the --config switch when givenTim Watson2011-08-181-1/+2
| | | | | | | | Currently the --config switch does not work because when loading a new rebar config the global setting is ignored for all paths. This patch provides a check when loading new rebar config to see whether or not the current config path matches the `base_dir` set in global conf, which produces the expected behaviour.