mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Fix whitespace errors
This commit is contained in:
parent
159f3ac2e5
commit
ee44d8554a
1 changed files with 13 additions and 12 deletions
|
@ -33,11 +33,12 @@
|
||||||
%% If true, try to "reset" VM state to approximate state prior to
|
%% If true, try to "reset" VM state to approximate state prior to
|
||||||
%% running the EUnit tests:
|
%% running the EUnit tests:
|
||||||
%% <ul>
|
%% <ul>
|
||||||
%% <li> Stop net_kernel if it was started </li>
|
%% <li>Stop net_kernel if it was started</li>
|
||||||
%% <li> Stop OTP applications not running before EUnit tests were run </li>
|
%% <li>Stop OTP applications not running before EUnit tests were run</li>
|
||||||
%% <li> Kill processes not running before EUnit tests were run </li>
|
%% <li>Kill processes not running before EUnit tests were run</li>
|
||||||
%% <li> Reset OTP application environment variables </li>
|
%% <li>Reset OTP application environment variables</li>
|
||||||
%% </ul> </li>
|
%% </ul>
|
||||||
|
%% </li>
|
||||||
%% </ul>
|
%% </ul>
|
||||||
%% The following Global options are supported:
|
%% The following Global options are supported:
|
||||||
%% <ul>
|
%% <ul>
|
||||||
|
@ -95,13 +96,13 @@ eunit(Config, _AppFile) ->
|
||||||
|
|
||||||
%% Get the full path to a file that was previously copied in ?EUNIT_DIR
|
%% Get the full path to a file that was previously copied in ?EUNIT_DIR
|
||||||
ToCleanUp = fun(F, Acc) ->
|
ToCleanUp = fun(F, Acc) ->
|
||||||
F2 = filename:basename(F),
|
F2 = filename:basename(F),
|
||||||
F3 = filename:join([?EUNIT_DIR, F2]),
|
F3 = filename:join([?EUNIT_DIR, F2]),
|
||||||
case filelib:is_regular(F3) of
|
case filelib:is_regular(F3) of
|
||||||
true -> [F3|Acc];
|
true -> [F3|Acc];
|
||||||
false -> Acc
|
false -> Acc
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
||||||
ok = rebar_file_utils:delete_each(lists:foldl(ToCleanUp, [], TestErls)),
|
ok = rebar_file_utils:delete_each(lists:foldl(ToCleanUp, [], TestErls)),
|
||||||
ok = rebar_file_utils:delete_each(lists:foldl(ToCleanUp, [], SrcErls)),
|
ok = rebar_file_utils:delete_each(lists:foldl(ToCleanUp, [], SrcErls)),
|
||||||
|
|
Loading…
Reference in a new issue