summaryrefslogtreecommitdiff
path: root/src/rebar_reltool.erl
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of app.configjoewilliams2011-09-201-2/+21
| | | | | | | | | | | | | | | | | | | | app.config has been a long standing erroneous file in rebar. Erlang/OTP documentation suggests a sys.config file instead. This file is stored in the releases/VSN directory. This does a few things but most importantly it ensures your config (contained in the application environment) survives a hot upgrade. It also has the advantage of allowing the configuration of the application to be versioned along side the application code. This patch flips rebar to use sys.config rather than app.config. Additionally it makes this flip to vm.args as well, making them versioned just like sys.config. This patch also includes runner script changes to support the old etc/app.config config file location and support for Windows. Thanks to mokele for the initial work and kick in the pants to make this finially happen.
* look for new and old versions in the target parentSteven Gravell2011-07-011-53/+8
| | | | | | | | | | | The target_dir config in reltool allows you to put your release in a directory other than in ./NAME, so we should look in the parent directory of that to find the new and old versions instead of simply looking in ./ Move untaring and retaring into a temporary path instead of in ./ to prevent name collisions with "releases" and "lib" that might exist already. Having a subdirectory rel/releases/ can be useful.
* Apply Tidier suggestionsTuncer Ayaz2011-06-021-1/+1
|
* Expand variables in replace overlayMax Lapshin2011-04-291-1/+1
|
* Centralize variable resolution; add target_dir variableDave Smith2011-04-101-22/+15
|
* Add support for template_wildcarding; allows files from many directories to ↵Dave Smith2011-04-101-0/+15
| | | | be templated.
* Refactor overlay_vars to enable overrides from command-lineDave Smith2011-04-101-28/+25
|
* Clean up codeTuncer Ayaz2011-02-061-17/+27
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Apply Tidier suggestionsTuncer Ayaz2011-01-131-6/+8
|
* Port rebar_file_utils to WindowsJuhani Rankimies2010-10-271-1/+1
| | | | | | | | Modify rm_rf and cp_r to work when {win32,_} = os:type(). Simplify rm_rf to only accept one filename, directoryname or wildcard. Add unit tests to ensure a similar behaviour on windows and unix. Thanks to tuncer for guidance and feedback.
* Tidier improvementsKostis Sagonas2010-10-261-17/+18
|
* Dialyzer related cleanupsKostis Sagonas2010-10-101-1/+1
|
* Move version check/enforcement for reltool into rebar_reltool; rebar should ↵Dave Smith2010-06-221-0/+18
| | | | work (excepting reltool support) with anything as far back as R12, once you've compiled it
* Enable target_dir to be passed as command-line parameterDave Smith2010-06-221-10/+15
|
* Make sure to apply any file perms when doing a templated fileDave Smith2010-06-211-1/+8
|
* Escape backslashes prior to escaping the quotesDave Smith2010-06-211-2/+3
|
* Fix compiler warningsKlas Johansson2010-06-191-1/+1
|
* fix call to dict:new (should be dict:from_list)Andy Gross2010-06-161-1/+1
|
* Fix missing parameter when invoking rebar_utils:shDave Smith2010-06-151-1/+1
|
* Refactor of overlay support in reltool extension; adding support for ↵Dave Smith2010-06-141-110/+155
| | | | | | | templating overlay files --HG-- extra : rebase_source : f042bd65d63dbaf4177f444f66033883bf7522a5
* Look for dirs named erts-vsn when setting up spec for copying filesDave Smith2010-01-141-1/+7
|
* Rolled back getopt to restore custom variablesTuncer Ayaz2010-01-011-2/+2
|
* Added vi modeline/emacs local variables to file headersTuncer Ayaz2009-12-311-0/+2
|
* Enhanced option parsing with new getopt and made rebar more user friendlyTuncer Ayaz2009-12-311-2/+2
|
* Deleted trailing whitespaceTuncer Ayaz2009-12-301-7/+7
|
* Make sure to append overlay files to end of spec; otherwise might be ↵Dave Smith2009-12-161-1/+1
| | | | overwritten by canonical install
* Adding support for overlaysDave Smith2009-12-141-1/+30
|
* Fixing warningDave Smith2009-12-141-8/+0
|
* Adding rudimentary support for creating empty dirs in reltool targetDave Smith2009-12-111-24/+85
|
* Add ability to forcibly overwrite existing releaseDave Smith2009-12-101-1/+14
|
* Ongoing reltool integration work; now better able to identify issues with ↵Dave Smith2009-12-031-16/+81
| | | | missing apps in code path
* Adding first crack at reltool supportDave Smith2009-12-021-0/+97