mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Fix rebar_eunit whitespace issues
This commit is contained in:
parent
9521d3fd86
commit
f5af9d6c21
1 changed files with 5 additions and 6 deletions
|
@ -87,13 +87,12 @@ eunit(Config, _AppFile) ->
|
||||||
%% for source files. Also copy files from src_dirs.
|
%% for source files. Also copy files from src_dirs.
|
||||||
ErlOpts = rebar_utils:erl_opts(Config),
|
ErlOpts = rebar_utils:erl_opts(Config),
|
||||||
|
|
||||||
|
SrcDirs = rebar_utils:src_dirs(proplists:append_values(src_dirs, ErlOpts)),
|
||||||
SrcErls = lists:foldl(
|
SrcErls = lists:foldl(
|
||||||
fun(Dir, Acc) ->
|
fun(Dir, Acc) ->
|
||||||
lists:append(Acc, rebar_utils:find_files(Dir, ".*\\.erl\$"))
|
Files = rebar_utils:find_files(Dir, ".*\\.erl\$"),
|
||||||
end,
|
lists:append(Acc, Files)
|
||||||
[],
|
end, [], SrcDirs),
|
||||||
rebar_utils:src_dirs(proplists:append_values(src_dirs, ErlOpts))
|
|
||||||
),
|
|
||||||
?DEBUG("SrcErls: ~s\n", [SrcErls]),
|
?DEBUG("SrcErls: ~s\n", [SrcErls]),
|
||||||
|
|
||||||
%% If it is not the first time rebar eunit is executed, there will be source
|
%% If it is not the first time rebar eunit is executed, there will be source
|
||||||
|
|
Loading…
Reference in a new issue