Adam Lindberg
ec6ff3597d
Escape more characters in path ( fix #367 )
2014-10-14 12:29:40 +02:00
Tuncer Ayaz
e1eec02c80
file_utils: properly report errors ( fix #95 )
...
While at it, improve the error message printed by rebar_utils:sh/2.
2014-04-11 15:01:26 +02:00
Lev Walkin
f2f294d812
Do not rewrite .app file if it didn't change
2012-08-08 00:52:54 +02:00
Tuncer Ayaz
aec71f93cb
Clean up specs
2012-08-06 19:52:09 +02:00
Tuncer Ayaz
636c02f0be
Fix R13B03 build (Reported-by: Sergey Nartimov)
2012-07-28 19:51:57 +02:00
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.
2012-07-03 15:18:09 +02:00
Dave Smith
c86c99940d
Remove ?FAIL in favor of ?ABORT
2012-06-08 07:06:15 -06:00
Jesse Gumm
33546cc402
Fix copying dir to non-existing dir in Win32
2012-02-20 19:23:35 +01:00
Jan Klötzke
0ce5cbab06
rebar_file_utils: simplify commands on Windows
2011-10-20 16:27:35 +02:00
Tuncer Ayaz
fa1bbc6702
Fix regressions in rebar_file_utils
2011-09-15 18:39:14 +02:00
Tuncer Ayaz
1cb1ae238a
Fix regression in rebar_file_utils:cp_r/2
2011-09-04 23:04:55 +02:00
Tuncer Ayaz
6a2fb52277
Fix spec for rebar_file_utils:rm_rf/1
2011-09-02 19:51:48 +02:00
Jan Klötzke
3fa6f6ab7c
Quote paths before passing them to the shell
2011-09-02 19:40:30 +02:00
Tuncer Ayaz
6d75bfbeb0
Clean up specs
2011-03-28 18:39:38 +02: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
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.
2011-01-06 15:02:19 +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
Juhani Rankimies
75fc2378bf
Remove unused functions from rebar_file_utils
...
mkdir_p/1 and ln_sf/2.
2010-10-27 11:39:12 -06:00
Tuncer Ayaz
9a8015f2d7
Added vi modeline/emacs local variables to file headers
2009-12-31 19:42:53 +01:00
Tuncer Ayaz
8c85021c1e
Deleted trailing whitespace
2009-12-30 13:13:39 +01:00
Dave Smith
d6600ab506
Fixing number of warnings and buglets
2009-12-14 08:58:22 -05:00
Dave Smith
b3909cc9dc
Adding delete_each/1
2009-12-01 10:37:19 -07:00
Jon Meredith
8e91e1014e
Connected up symlinking the list of progs in rebar.config/app_bin
...
to the OTP bin dir.
2009-11-30 12:02:09 -07:00
Dave Smith
be2a9096f6
More work
2009-11-30 07:00:48 -07:00