summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Rascão <luis.rascao@gmail.com>2017-08-18 22:28:17 +0100
committerGitHub <noreply@github.com>2017-08-18 22:28:17 +0100
commit5294997e3a16c0158c2cc9930e493bea69a595bc (patch)
tree9fff67599dd310111313ca471edff88675bfe38e
parent2a52f60bea5468de6372753621e0461b5d1c428b (diff)
parent59ea0a3f9cebaecf59af7b03e995e89a3c7ffdd1 (diff)
downloadrebar-5294997e3a16c0158c2cc9930e493bea69a595bc.tar.gz
Merge pull request #633 from davisp/properly-skip-apps-with-app-src-script
Properly skip apps with a .app.src.script file
-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,