summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update shell completion: generate-upgradeTuncer Ayaz2011-01-281-3/+3
| | | | Add generate-upgrade and previous_release=.
* Fix help: previous_release is mandatoryTuncer Ayaz2011-01-281-1/+1
|
* Update THANKS fileTuncer Ayaz2011-01-271-0/+4
|
* Add 'generate-upgrade' commandjoewilliams2011-01-2717-5/+720
| | | | | | | | | | | | | | | | | | | | | 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-272-45/+45
|
* 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-242-12/+75
| | | | | | | | | | | | | | | | | | | 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-242-173/+187
|
* Update getoptTuncer Ayaz2011-01-231-6/+13
|
* Add file local variables to nodetool escriptTuncer Ayaz2011-01-211-1/+2
|
* Synchronize nodetool escript with riak versionTuncer Ayaz2011-01-211-1/+36
|
* Update THANKS fileTuncer Ayaz2011-01-171-1/+1
|
* Add Andrew Tunnell-Jones to THANKS fileTuncer Ayaz2011-01-171-0/+1
|
* Add support for arch specific port_sourcesAndrew Tunnell-Jones2011-01-171-1/+13
| | | | | | | | | On one project I have a need to specify port_sources on R14 only and on another different project port_sources for Darwin and Linux. To this end add support to handle tuples of the form {ArchRegex, PortSource} in the port_sources list, eg: {port_sources, [{"R14", ["c_src/*.c"]}]}.
* Update README: coding styleTuncer Ayaz2011-01-171-1/+3
|
* Update README: coding styleTuncer Ayaz2011-01-151-2/+6
|
* Update README: fix formattingTuncer Ayaz2011-01-141-1/+6
|
* Update README: document known discrepanciesTuncer Ayaz2011-01-131-0/+11
|
* Fix underspec (thanks Kostis Sagonas)Tuncer Ayaz2011-01-131-1/+1
|
* Simplify rebar_coreTuncer Ayaz2011-01-131-23/+17
|
* Fix code clarity in bootstrapTuncer Ayaz2011-01-131-6/+4
|
* Fix grep invocationsTuncer Ayaz2011-01-132-13/+23
|
* Fix indentation in rebar_ctTuncer Ayaz2011-01-131-20/+20
|
* Simplify and cleanup rebar_templaterTuncer Ayaz2011-01-131-10/+11
|
* Simplify and cleanup rebar_xrefTuncer Ayaz2011-01-131-21/+9
|
* Apply Tidier suggestionsTuncer Ayaz2011-01-1312-71/+78
|
* Fix typosTuncer Ayaz2011-01-132-3/+3
|
* Fix file existence checksTuncer Ayaz2011-01-135-5/+5
|
* Fix code clarityTuncer Ayaz2011-01-133-20/+24
|
* Update README: Dialyzer and TidierTuncer Ayaz2011-01-131-0/+22
|
* Update README formattingTuncer Ayaz2011-01-131-6/+6
|
* Add README and update existing docsTuncer Ayaz2011-01-133-52/+91
|
* Set local scope for env vars in rebar.batJuhani Rankimies2011-01-121-0/+1
|
* Add otp_release to platform stringJoseph Wayne Norton2011-01-093-8/+23
|
* Fix Dialyzer warningTuncer Ayaz2011-01-091-3/+5
|
* Remove unused fun rebar_utils:get_os/0Tuncer Ayaz2011-01-091-20/+0
|
* Fix bug 770Tuncer Ayaz2011-01-081-2/+10
|
* Return more descriptive dependency errorsTuncer Ayaz2011-01-061-4/+7
|
* Use file:change_mode/2 instead of invoking chmodJuhani Rankimies2011-01-061-1/+3
|
* Unify executable invocationJuhani Rankimies2011-01-0611-96/+199
| | | | | Add flags to rebar_utils:sh to control output and error handling. Replace calls to os:cmd with calls to rebar_utils:sh.
* Add Charles McKnight to THANKS fileTuncer Ayaz2011-01-061-0/+1
|
* Fix error where ebin was created as a fileCharles McKnight2011-01-061-0/+1
| | | | | | | | | | | | | This patch remedies an issue where the ebin directory would be erroneously created as a file by the first "mv" command in rebar_protobuffs_compile.erl [line 106] if the ebin file did not exist at the root application level. In essence, the patch ensures that the ebin directory exists at the application directory level before any "mv" commands are executed. The following code was inserted at line 106: ok = filelib:ensure_dir(filename:join("ebin","dummy")),
* Fix order of erl_opts to be more accurateTuncer Ayaz2011-01-041-2/+2
|
* Remove erlc target after fail_on_warning failureJoseph Wayne Norton2010-12-271-0/+2
| | | | | Prevent overlooking a compilation warning by removing the target beam file after fail_on_warning failure.
* Add abnfc supportAnthony Ramine2010-12-222-0/+111
| | | | | | | | | abnfc is an ABNF parser generator. Options are: - doc_root (defaults to "src") - out_dir (defaults to "src") - source_ext (defaults to ".abnf") - module_ext (defaults to "")
* Support single level of nested template variablesDavid Reid2010-12-221-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for defining template variables of the following form: {variables, [{appid, "mochiwebapp"}, {author, "Mochi Media <dev@mochimedia.com>"}, {year, "2010"}, {version, "0.1"}, {port, 8080}, {dest, "{{appid}}"}]}. Where dest may be overridden on the commandline but will default to being the appid. Mochiweb uses this so that we can create new projects from the template in a configurable directory. So $ rebar create template=mochiwebapp dest=foo appid=bar I thought about special casing dest but figured it might be generally useful to be able to nest template vars. However this patch only does one level of resolution. So if {variables, [{foo, "{{bar}}"}, {bar, "{{foo}}"}]}. then bar will end up being the literal string {{bar}} and foo the literal string {{foo}}.
* Adding support for app_vars in external fileDave Smith2010-12-201-5/+23
|
* Implement update-deps and disable auto updateTuncer Ayaz2010-12-173-24/+44
|
* Fix possible export VAR=VALUE bashismTuncer Ayaz2010-12-171-1/+2
|
* Add Anthony Ramine to THANKS fileTuncer Ayaz2010-12-161-0/+1
|