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.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/59ea0a3f Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/59ea0a3f Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/59ea0a3f Branch: refs/heads/master Commit: 59ea0a3f9cebaecf59af7b03e995e89a3c7ffdd1 Parents: 2a52f60 Author: Paul J. Davis <[email protected]> Authored: Mon May 15 15:53:37 2017 -0500 Committer: Paul J. Davis <[email protected]> Committed: Mon May 15 15:53:37 2017 -0500 ---------------------------------------------------------------------- src/rebar_core.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/59ea0a3f/src/rebar_core.erl ---------------------------------------------------------------------- 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,
