summaryrefslogtreecommitdiff
path: root/src/rebar.erl
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Use filename:join/1Tuncer Ayaz2011-07-181-1/+1
|
* Add support for $HOME/.rebar/configTuncer Ayaz2011-07-061-1/+12
|
* Add list-deps to completion and abbrev-cmdsTuncer Ayaz2011-06-101-3/+3
|
* Add command listing for list-depsJared Morrow2011-06-101-0/+1
|
* Remove leftover references to rebar_dialyzerTuncer Ayaz2011-06-071-4/+4
|
* Remove rebar_dialyzerjoewilliams2011-06-061-6/+2
|
* Apply Tidier suggestionsTuncer Ayaz2011-06-021-9/+7
|
* Fix indentation errorsTuncer Ayaz2011-05-231-2/+2
|
* Use infinite receive (thanks Hakan Mattsson)Tuncer Ayaz2011-04-041-4/+4
|
* Add 'generate-appups' commandjoewilliams2011-02-151-2/+4
| | | | | | | | | | | | | | | To further support OTP releases I have added support for generating application appup files. These include instructions that systools uses to generate a relup file which contains the low level instructions needed to perform a hot code upgrade. My goal with this module is to produce "good enough" appup files or at least a skeleton to help one get started with something more complex. If an appup file already exists for an application this command will not attempt to create a new one. Usage: $ rebar generate-appups previous_release=/path/to/old/version Generally this command will be run just before 'generate-upgrade'.
* Clean up codeTuncer Ayaz2011-02-061-13/+16
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Move BUILD_TIME and VCS_INFO macrosTim Watson2011-01-291-0/+8
| | | | | | 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 help: previous_release is mandatoryTuncer Ayaz2011-01-281-1/+1
|
* Add 'generate-upgrade' commandjoewilliams2011-01-271-2/+4
| | | | | | | | | | | | | | | | | | | | | To support OTP release upgrades I have added support for building upgrade packages. Support for this is included in the rebar_upgrade module, specifically generate_upgrade/2. It requires one variable to be set on the command line 'previous_release' which is the absolute path or relative path from 'rel/' to the previous release one is upgrading from. Running an upgrade will create the needed files, including a relup and result in a tarball containing the upgrade being written to 'rel/'. When done it cleans up the temporary files systools created. Usage: $ rebar generate-upgrade previous_release=/path/to/old/version This also includes a dummy application that can be used to test upgrades as well as an example. Special thanks to Daniel Reverri, Jesper Louis Andersen and Richard Jones for comments and patches.
* Fix circular dependencyTuncer Ayaz2011-01-271-6/+44
|
* Use an order independent method for exact matches when looking for command ↵Dave Smith2011-01-251-3/+3
| | | | candidates
* Add support for abbreviated command namesKlas Johansson2011-01-241-1/+65
| | | | | | | | | | | | | | | | | | | 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.erlTuncer Ayaz2011-01-241-1/+184
|
* Move version check/enforcement for reltool into rebar_reltool; rebar should ↵Dave Smith2010-06-221-20/+0
| | | | work (excepting reltool support) with anything as far back as R12, once you've compiled it
* Added vi modeline/emacs local variables to file headersTuncer Ayaz2009-12-311-0/+2
|
* Deleted trailing whitespaceTuncer Ayaz2009-12-301-1/+1
|
* Adding some addt'l logging to make it easier to diagnose probsDave Smith2009-12-201-1/+5
|
* Adding simple checks for necessary version of ERTS + ReltoolDave Smith2009-12-171-0/+20
|
* Make sure to bail w/ return code of 1 when error has occurredDave Smith2009-12-071-1/+6
|
* Adding rebar.erl -- not sure how that got missed, yet worked!?Dave Smith2009-12-041-0/+30