Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly use release_handler:create_RELEASES | joewilliams | 2012-09-04 | 1 | -3/+15 |
| | |||||
* | rebar_reltool: remove blank lines | Tuncer Ayaz | 2012-08-30 | 1 | -5/+0 |
| | |||||
* | Add dynamic .script support for overlay vars file | Dmitriy Kargapolov | 2012-08-30 | 1 | -1/+1 |
| | |||||
* | Fix R13B03 build (Reported-by: Sergey Nartimov) | Tuncer Ayaz | 2012-07-28 | 1 | -4/+4 |
| | |||||
* | relative libs in RELEASES file | Steven Gravell | 2012-07-26 | 1 | -1/+1 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -17/+19 |
| | |||||
* | Restore old reltool vsn check | Tuncer Ayaz | 2012-07-22 | 1 | -14/+15 |
| | | | | | reltool is missing an app resource file before R14A. Therefore, restore the old check and add TODO. | ||||
* | Fix Dialyzer warning | Tuncer Ayaz | 2012-07-21 | 1 | -1/+1 |
| | |||||
* | Use a more appropriate method to check reltool's vsn | Ulf Wiger | 2012-07-21 | 1 | -13/+14 |
| | | | | | | | | | | | | | | | | If running e.g. rebar generate using an OTP development build, rebar will complain that reltool has the version "", which is less than the required "0.5.2". This is because rebar_reltool simply checks the path returned by code:which(reltool), which doesn't yield version information if used in a development build. This patch substitutes a more robust method (load reltool and fetch the info from application:loaded_applications()). As it happens, this will not be enough to make things work, but now Reltool will explain that it cannot generate a spec from a system that is not installed, giving a better hint as to what needs to be done. | ||||
* | Remove shared state | Tuncer Ayaz | 2012-07-13 | 1 | -11/+10 |
| | |||||
* | Use ~p for file:consult/1 {error, Reason} printout | Daniel Luna | 2012-06-29 | 1 | -1/+1 |
| | |||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -4/+4 |
| | |||||
* | Fix whitespace errors | Tuncer Ayaz | 2012-06-01 | 1 | -9/+15 |
| | |||||
* | Fix #232 (rebar_reltool:mk_target_dir) | Yurin Slava | 2012-06-01 | 1 | -2/+6 |
| | |||||
* | Remove unused include_lib directive | Yurin Slava | 2012-02-04 | 1 | -1/+0 |
| | |||||
* | Remove trailing whitespace in rebar_reltool | Tuncer Ayaz | 2011-12-19 | 1 | -1/+1 |
| | |||||
* | Add root_dir option to reltool.config | smithwinston | 2011-11-26 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | When generating a node using rebar generate, rebar always used code:root_dir() to find the Erlang installation to clone into the node tree. However, for anyone wishing to build a cross-compiled node, there was no way to override this. This patch adds a new option to reltool.config file to allow an alternate root_dir to be specified, for example: {root_dir, "/tmp/otp_R14B03_armv7l"} This assumes that the contents of /tmp/otp_R14B03_armv7l has been generated using the instructions found in the xcomp directory in your $ERL_TOP structure. NOTE: you may have to add additional filters to exclude files not present in the xcomp version, such as the .smp files if you have disabled that. | ||||
* | Add overlay command to run overlays only | Steven Gravell | 2011-10-20 | 1 | -24/+37 |
| | | | | | | | | 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. | ||||
* | Get rid of app.config | joewilliams | 2011-09-20 | 1 | -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 parent | Steven Gravell | 2011-07-01 | 1 | -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 suggestions | Tuncer Ayaz | 2011-06-02 | 1 | -1/+1 |
| | |||||
* | Expand variables in replace overlay | Max Lapshin | 2011-04-29 | 1 | -1/+1 |
| | |||||
* | Centralize variable resolution; add target_dir variable | Dave Smith | 2011-04-10 | 1 | -22/+15 |
| | |||||
* | Add support for template_wildcarding; allows files from many directories to ↵ | Dave Smith | 2011-04-10 | 1 | -0/+15 |
| | | | | be templated. | ||||
* | Refactor overlay_vars to enable overrides from command-line | Dave Smith | 2011-04-10 | 1 | -28/+25 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -17/+27 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-01-13 | 1 | -6/+8 |
| | |||||
* | Port rebar_file_utils to Windows | Juhani Rankimies | 2010-10-27 | 1 | -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 improvements | Kostis Sagonas | 2010-10-26 | 1 | -17/+18 |
| | |||||
* | Dialyzer related cleanups | Kostis Sagonas | 2010-10-10 | 1 | -1/+1 |
| | |||||
* | Move version check/enforcement for reltool into rebar_reltool; rebar should ↵ | Dave Smith | 2010-06-22 | 1 | -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 parameter | Dave Smith | 2010-06-22 | 1 | -10/+15 |
| | |||||
* | Make sure to apply any file perms when doing a templated file | Dave Smith | 2010-06-21 | 1 | -1/+8 |
| | |||||
* | Escape backslashes prior to escaping the quotes | Dave Smith | 2010-06-21 | 1 | -2/+3 |
| | |||||
* | Fix compiler warnings | Klas Johansson | 2010-06-19 | 1 | -1/+1 |
| | |||||
* | fix call to dict:new (should be dict:from_list) | Andy Gross | 2010-06-16 | 1 | -1/+1 |
| | |||||
* | Fix missing parameter when invoking rebar_utils:sh | Dave Smith | 2010-06-15 | 1 | -1/+1 |
| | |||||
* | Refactor of overlay support in reltool extension; adding support for ↵ | Dave Smith | 2010-06-14 | 1 | -110/+155 |
| | | | | | | | templating overlay files --HG-- extra : rebase_source : f042bd65d63dbaf4177f444f66033883bf7522a5 | ||||
* | Look for dirs named erts-vsn when setting up spec for copying files | Dave Smith | 2010-01-14 | 1 | -1/+7 |
| | |||||
* | Rolled back getopt to restore custom variables | Tuncer Ayaz | 2010-01-01 | 1 | -2/+2 |
| | |||||
* | Added vi modeline/emacs local variables to file headers | Tuncer Ayaz | 2009-12-31 | 1 | -0/+2 |
| | |||||
* | Enhanced option parsing with new getopt and made rebar more user friendly | Tuncer Ayaz | 2009-12-31 | 1 | -2/+2 |
| | |||||
* | Deleted trailing whitespace | Tuncer Ayaz | 2009-12-30 | 1 | -7/+7 |
| | |||||
* | Make sure to append overlay files to end of spec; otherwise might be ↵ | Dave Smith | 2009-12-16 | 1 | -1/+1 |
| | | | | overwritten by canonical install | ||||
* | Adding support for overlays | Dave Smith | 2009-12-14 | 1 | -1/+30 |
| | |||||
* | Fixing warning | Dave Smith | 2009-12-14 | 1 | -8/+0 |
| | |||||
* | Adding rudimentary support for creating empty dirs in reltool target | Dave Smith | 2009-12-11 | 1 | -24/+85 |
| | |||||
* | Add ability to forcibly overwrite existing release | Dave Smith | 2009-12-10 | 1 | -1/+14 |
| | |||||
* | Ongoing reltool integration work; now better able to identify issues with ↵ | Dave Smith | 2009-12-03 | 1 | -16/+81 |
| | | | | missing apps in code path |