diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-01-13 19:39:28 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-01-13 19:39:28 +0100 |
commit | 5b15c851d8faad39973cf27505a74feae85f8739 (patch) | |
tree | 93bf7160e5011a55ceadb3d516074f5b60b2d313 | |
parent | eab5ae529889ffb6fbc1a3c8266915f8b902287a (diff) |
Check for .app.src first
-rw-r--r-- | src/rebar_core.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 1313c7f..ceb3d3c 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -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, |