Browse Source

Check for .app.src first

pull/3/head
Tuncer Ayaz 13 years ago
parent
commit
5b15c851d8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/rebar_core.erl

+ 2
- 2
src/rebar_core.erl View File

@ -124,8 +124,8 @@ maybe_process_dir({[], undefined}=ModuleSet, Config, CurrentCodePath,
process_dir0(Dir, Command, DirSet, Config, CurrentCodePath, ModuleSet);
maybe_process_dir({_, ModuleSetFile}=ModuleSet, Config, CurrentCodePath,
Dir, Command, DirSet) ->
case lists:suffix(".app", ModuleSetFile)
orelse lists:suffix(".app.src", ModuleSetFile) of
case lists:suffix(".app.src", ModuleSetFile)
orelse lists:suffix(".app", ModuleSetFile) of
true ->
%% .app or .app.src file, check if is_skipped_app
maybe_process_dir0(ModuleSetFile, ModuleSet,

Loading…
Cancel
Save