Steven Gravell
0f5e393292
look for new and old versions in the target parent
...
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.
2011-07-01 18:04:32 +01:00
Tuncer Ayaz
1e342faee8
Apply Tidier suggestions
2011-06-02 22:09:11 +02:00
Max Lapshin
8666d57d78
Expand variables in replace overlay
2011-04-29 14:58:31 +04:00
Dave Smith
bda6ee0e48
Centralize variable resolution; add target_dir variable
2011-04-10 16:12:50 -06:00
Dave Smith
3e2baf1a07
Add support for template_wildcarding; allows files from many directories to be templated.
2011-04-10 16:12:50 -06:00
Dave Smith
b7111dce85
Refactor overlay_vars to enable overrides from command-line
2011-04-10 16:12:50 -06:00
Tuncer Ayaz
63de05d914
Clean up code
2011-02-06 17:41:04 +01:00
Tuncer Ayaz
c466076ffb
Clean up emacs file local variables
2011-01-31 17:55:36 +01:00
Tuncer Ayaz
e4036cbe56
Apply Tidier suggestions
2011-01-13 17:39:14 +01:00
Juhani Rankimies
fd5ebe69a4
Port rebar_file_utils to Windows
...
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.
2010-10-27 11:39:12 -06:00
Kostis Sagonas
7dc76d578e
Tidier improvements
2010-10-26 00:38:51 +02:00
Kostis Sagonas
e024778599
Dialyzer related cleanups
2010-10-10 14:11:13 -06:00
Dave Smith
1f3c49cae7
Move version check/enforcement for reltool into rebar_reltool; rebar should work (excepting reltool support) with anything as far back as R12, once you've compiled it
2010-06-22 14:13:39 -06:00
Dave Smith
c32d26f509
Enable target_dir to be passed as command-line parameter
2010-06-22 10:25:42 -06:00
Dave Smith
127483f32b
Make sure to apply any file perms when doing a templated file
2010-06-21 15:08:30 -06:00
Dave Smith
f3039c7a87
Escape backslashes prior to escaping the quotes
2010-06-21 14:48:37 -06:00
Klas Johansson
aea3184139
Fix compiler warnings
2010-06-19 15:46:57 +02:00
Andy Gross
b5d6fed2f6
fix call to dict:new (should be dict:from_list)
2010-06-16 22:57:01 -04:00
Dave Smith
68c0def250
Fix missing parameter when invoking rebar_utils:sh
2010-06-15 14:49:03 -06:00
Dave Smith
4a12b13939
Refactor of overlay support in reltool extension; adding support for templating overlay files
...
--HG--
extra : rebase_source : f042bd65d63dbaf4177f444f66033883bf7522a5
2010-06-14 18:16:26 -06:00
Dave Smith
96e9a2a521
Look for dirs named erts-vsn when setting up spec for copying files
2010-01-14 07:46:00 -05:00
Tuncer Ayaz
0817dec7ca
Rolled back getopt to restore custom variables
2010-01-01 00:08:00 +01:00
Tuncer Ayaz
9a8015f2d7
Added vi modeline/emacs local variables to file headers
2009-12-31 19:42:53 +01:00
Tuncer Ayaz
940f9c232b
Enhanced option parsing with new getopt and made rebar more user friendly
2009-12-31 18:00:02 +01:00
Tuncer Ayaz
8c85021c1e
Deleted trailing whitespace
2009-12-30 13:13:39 +01:00
Dave Smith
4d3c7e60d6
Make sure to append overlay files to end of spec; otherwise might be overwritten by canonical install
2009-12-16 10:26:50 -05:00
Dave Smith
c3f0f2565b
Adding support for overlays
2009-12-14 19:30:51 -05:00
Dave Smith
e86f82f10d
Fixing warning
2009-12-14 09:29:24 -05:00
Dave Smith
3685c4fd4e
Adding rudimentary support for creating empty dirs in reltool target
2009-12-11 07:20:59 -07:00
Dave Smith
849078026e
Add ability to forcibly overwrite existing release
2009-12-10 12:16:15 -07:00
Dave Smith
89dc8095b0
Ongoing reltool integration work; now better able to identify issues with missing apps in code path
2009-12-03 16:06:06 -07:00
Dave Smith
a01e7dcd30
Adding first crack at reltool support
2009-12-02 05:15:35 -07:00