Преглед изворни кода

Merge pull request #1957 from tsloughter/subdir-behaviours

search subdirectories as well for imports/transforms/behaviours
pull/1965/head
Fred Hebert пре 6 година
committed by GitHub
родитељ
комит
ebc1186c34
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 10 уклоњено
  1. +1
    -10
      src/rebar_compiler_erl.erl

+ 1
- 10
src/rebar_compiler_erl.erl Прегледај датотеку

@ -317,16 +317,7 @@ expand_file_names(Files, Dirs) ->
true ->
[Incl];
false ->
lists:flatmap(
fun(Dir) ->
FullPath = filename:join(Dir, Incl),
case filelib:is_regular(FullPath) of
true ->
[FullPath];
false ->
[]
end
end, Dirs)
rebar_utils:find_files_in_dirs(Dirs, Incl, true)
end
end, Files).

Loading…
Откажи
Сачувај