You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2017/05/22 16:30:35 UTC
rebar commit: updated refs/heads/2.6.0-cloudant to 7180103
Repository: couchdb-rebar
Updated Branches:
refs/heads/2.6.0-cloudant [created] 718010342
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/71801034
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/71801034
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/71801034
Branch: refs/heads/2.6.0-cloudant
Commit: 718010342346643ce8e4a3c2be4a2408887476dd
Parents: 5dea85d
Author: Paul J. Davis <pa...@gmail.com>
Authored: Mon May 15 15:53:37 2017 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Mon May 22 11:30:18 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/71801034/src/rebar_core.erl
----------------------------------------------------------------------
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 0650430..dc689da 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,