mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Check for .app.src first
This commit is contained in:
parent
eab5ae5298
commit
5b15c851d8
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ maybe_process_dir({[], undefined}=ModuleSet, Config, CurrentCodePath,
|
||||||
process_dir0(Dir, Command, DirSet, Config, CurrentCodePath, ModuleSet);
|
process_dir0(Dir, Command, DirSet, Config, CurrentCodePath, ModuleSet);
|
||||||
maybe_process_dir({_, ModuleSetFile}=ModuleSet, Config, CurrentCodePath,
|
maybe_process_dir({_, ModuleSetFile}=ModuleSet, Config, CurrentCodePath,
|
||||||
Dir, Command, DirSet) ->
|
Dir, Command, DirSet) ->
|
||||||
case lists:suffix(".app", ModuleSetFile)
|
case lists:suffix(".app.src", ModuleSetFile)
|
||||||
orelse lists:suffix(".app.src", ModuleSetFile) of
|
orelse lists:suffix(".app", ModuleSetFile) of
|
||||||
true ->
|
true ->
|
||||||
%% .app or .app.src file, check if is_skipped_app
|
%% .app or .app.src file, check if is_skipped_app
|
||||||
maybe_process_dir0(ModuleSetFile, ModuleSet,
|
maybe_process_dir0(ModuleSetFile, ModuleSet,
|
||||||
|
|
Loading…
Reference in a new issue