ソースを参照

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
この署名に対応する既知のキーがデータベースに存在しません GPGキー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).

読み込み中…
キャンセル
保存