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