summaryrefslogtreecommitdiff
path: root/src/rebar.erl
Commit message (Collapse)AuthorAgeFilesLines
...
* 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