summaryrefslogtreecommitdiff
path: root/src/rebar.erl
Commit message (Collapse)AuthorAgeFilesLines
* add first testTristan Sloughter2014-09-011-7/+8
|
* remove more code that can be brought back later if neededTristan Sloughter2014-08-301-5/+5
|
* use locks if existsTristan Sloughter2014-08-281-2/+9
|
* refactoring and remove unused providers for nowTristan Sloughter2014-08-231-1/+4
|
* start of moving to splitting state from config parsingTristan Sloughter2014-08-171-81/+65
|
* add rebar update providerTristan Sloughter2014-08-161-159/+8
|
* move back to single command with arguments for comamnd after itTristan Sloughter2014-08-161-3/+3
|
* replace logging with ec_cmd_log from erlware_commonsTristan Sloughter2014-08-161-1/+2
|
* large refactoringTristan Sloughter2014-08-161-14/+6
| | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands
* improve behaviour of `rebar shell`alisdair sullivan2014-05-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | attempt to emulate the behavior of `erl -pa ebin -pa deps/*/ebin` fix error messages and formatting issues of `rebar shell` by shutting down and restarting the user subsystem in a mode more hospitable to the shell than the simple user started when run as an escript. emulate `error_logger` behaviour when the shell is run via `erl` add documentation of the shell command limitations: the erlang interrupt handler is not enabled when running as an escript and there is no interface to re-enable it via erlang code. this means `ctrl-c` will immediately exit the running process unlike when running the shell via `erl`. `ctrl-g` is, however, unaffected the user subsystem is killed and restarted but not supervised. if your code somehow relies on the user subsystem crashing and restarting `rebar shell` may interfere with it's operation
* Document require_*_vsn optionsTuncer Ayaz2014-03-121-0/+6
|
* Document skip_apps= and apps=Tuncer Ayaz2014-03-121-1/+4
|
* 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
|