couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject rebar commit: updated refs/heads/2.6.0-couchdb to df0de4c [Forced Update!]
Date Mon, 22 May 2017 16:44:35 GMT
Repository: couchdb-rebar
Updated Branches:
  refs/heads/2.6.0-couchdb 718010342 -> df0de4cae (forced update)


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/df0de4ca
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/df0de4ca
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/df0de4ca

Branch: refs/heads/2.6.0-couchdb
Commit: df0de4caed08ad7c240a9524e96c7218764d31ec
Parents: 5dea85d
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon May 15 15:53:37 2017 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Mon May 22 11:44:38 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/df0de4ca/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,


Mime
View raw message