mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +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.
|
||||
ErlOpts = rebar_utils:erl_opts(Config),
|
||||
|
||||
SrcDirs = rebar_utils:src_dirs(proplists:append_values(src_dirs, ErlOpts)),
|
||||
SrcErls = lists:foldl(
|
||||
fun(Dir, Acc) ->
|
||||
lists:append(Acc, rebar_utils:find_files(Dir, ".*\\.erl\$"))
|
||||
end,
|
||||
[],
|
||||
rebar_utils:src_dirs(proplists:append_values(src_dirs, ErlOpts))
|
||||
),
|
||||
Files = rebar_utils:find_files(Dir, ".*\\.erl\$"),
|
||||
lists:append(Acc, Files)
|
||||
end, [], SrcDirs),
|
||||
?DEBUG("SrcErls: ~s\n", [SrcErls]),
|
||||
|
||||
%% If it is not the first time rebar eunit is executed, there will be source
|
||||
|
|
Loading…
Reference in a new issue