summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2017-05-15 15:53:37 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2017-05-15 15:53:37 -0500
commit59ea0a3f9cebaecf59af7b03e995e89a3c7ffdd1 (patch)
tree9fff67599dd310111313ca471edff88675bfe38e
parent2a52f60bea5468de6372753621e0461b5d1c428b (diff)
downloadrebar-59ea0a3f9cebaecf59af7b03e995e89a3c7ffdd1.tar.gz
Properly skip apps with a .app.src.script file
Any application using a .app.src.script file will now be properly skipped if requested. This check was missing the newer third case for the file extension.
-rw-r--r--src/rebar_core.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 6cc8d38..747fe97 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -190,8 +190,8 @@ skip_or_process_dir(Dir, Command, Config, DirSet, CurrentCodePath,
WouldCd);
skip_or_process_dir(Dir, Command, Config, DirSet, CurrentCodePath,
{_, File}=ModuleSet, WouldCd) ->
- case lists:suffix(".app.src", File)
- orelse lists:suffix(".app", File) of
+ case lists:suffix(".app", File)
+ orelse rebar_app_utils:is_app_src(File) of
true ->
%% .app or .app.src file, check if is_skipped_app
skip_or_process_dir1(Dir, Command, Config, DirSet, CurrentCodePath,