Tristan Sloughter
8528204431
print and format error message for bad .app files and all bad configs
hace 10 años
Tristan Sloughter
675044bc83
use relative path on non-windows and copy if link fails
hace 10 años
alisdair sullivan
0b21243eae
add functions `system_tmpdir/0,1` and `reset_dir/1`
(in `rebar_file_utils`)
hace 10 años
Tristan Sloughter
154b70b466
properly escape paths
hace 10 años
Tuncer Ayaz
e1eec02c80
file_utils: properly report errors ( fix #95 )
While at it, improve the error message printed by rebar_utils:sh/2.
hace 11 años
Lev Walkin
f2f294d812
Do not rewrite .app file if it didn't change
hace 12 años
Tuncer Ayaz
aec71f93cb
Clean up specs
hace 12 años
Tuncer Ayaz
636c02f0be
Fix R13B03 build (Reported-by: Sergey Nartimov)
hace 12 años
Eric B Merritt
ec3927f9b0
Fix eunit testing of apps that have no erl files
'Erlang' projects that do not contain any erlang files (Joxa, LFE,
Elixir, etc) break the eunit task. It attempts to copy an empty list
of source files to the .eunit directory. This change makes copying an
empty list a simple no-op.
hace 13 años
Dave Smith
c86c99940d
Remove ?FAIL in favor of ?ABORT
hace 13 años
Jesse Gumm
33546cc402
Fix copying dir to non-existing dir in Win32
hace 13 años
Jan Klötzke
0ce5cbab06
rebar_file_utils: simplify commands on Windows
hace 13 años
Tuncer Ayaz
fa1bbc6702
Fix regressions in rebar_file_utils
hace 13 años
Tuncer Ayaz
1cb1ae238a
Fix regression in rebar_file_utils:cp_r/2
hace 13 años
Tuncer Ayaz
6a2fb52277
Fix spec for rebar_file_utils:rm_rf/1
hace 13 años
Jan Klötzke
3fa6f6ab7c
Quote paths before passing them to the shell
hace 13 años
Tuncer Ayaz
6d75bfbeb0
Clean up specs
hace 14 años
Tuncer Ayaz
63de05d914
Clean up code
hace 14 años
Tuncer Ayaz
c466076ffb
Clean up emacs file local variables
hace 14 años
Tuncer Ayaz
e4036cbe56
Apply Tidier suggestions
hace 14 años
Juhani Rankimies
52ca7795fe
Unify executable invocation
Add flags to rebar_utils:sh to control output and error handling.
Replace calls to os:cmd with calls to rebar_utils:sh.
hace 14 años
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.
hace 14 años
Juhani Rankimies
75fc2378bf
Remove unused functions from rebar_file_utils
mkdir_p/1 and ln_sf/2.
hace 14 años
Tuncer Ayaz
9a8015f2d7
Added vi modeline/emacs local variables to file headers
hace 15 años
Tuncer Ayaz
8c85021c1e
Deleted trailing whitespace
hace 15 años
Dave Smith
d6600ab506
Fixing number of warnings and buglets
hace 15 años
Dave Smith
b3909cc9dc
Adding delete_each/1
hace 15 años
Jon Meredith
8e91e1014e
Connected up symlinking the list of progs in rebar.config/app_bin
to the OTP bin dir.
hace 15 años
Dave Smith
be2a9096f6
More work
hace 15 años
Dave Smith
28fe3bfd54
More gross structural work; now has log levels and broken out log level control
hace 15 años
Dave Smith
b7e2088c27
Initial commit
hace 15 años