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