Ver código fonte

search subdirectories as well for imports/transforms/behaviours

pull/1957/head
Tristan Sloughter 6 anos atrás
pai
commit
8c4a74a3ed
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: AAB97DDECCEB8150
1 arquivos alterados com 1 adições e 10 exclusões
  1. +1
    -10
      src/rebar_compiler_erl.erl

+ 1
- 10
src/rebar_compiler_erl.erl Ver arquivo

@ -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).

Carregando…
Cancelar
Salvar