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