From 59ea0a3f9cebaecf59af7b03e995e89a3c7ffdd1 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Mon, 15 May 2017 15:53:37 -0500 Subject: 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. --- src/rebar_core.erl | 4 ++-- 1 file 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, -- cgit v1.2.1