cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmo...@apache.org
Subject git commit: CB-6942 Describe running hooks only in verbose mode.
Date Fri, 13 Jun 2014 21:02:45 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master f9025e84f -> 5c88df091


CB-6942 Describe running hooks only in verbose mode.


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/5c88df09
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/5c88df09
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/5c88df09

Branch: refs/heads/master
Commit: 5c88df09100c07a63150c645107710d4c92c9e89
Parents: f9025e8
Author: Michal Mocny <mmocny@gmail.com>
Authored: Fri Jun 13 17:02:18 2014 -0400
Committer: Michal Mocny <mmocny@gmail.com>
Committed: Fri Jun 13 17:02:24 2014 -0400

----------------------------------------------------------------------
 cordova-lib/src/cordova/hooker.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/5c88df09/cordova-lib/src/cordova/hooker.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/hooker.js b/cordova-lib/src/cordova/hooker.js
index 834e311..a02d5b6 100644
--- a/cordova-lib/src/cordova/hooker.js
+++ b/cordova-lib/src/cordova/hooker.js
@@ -123,7 +123,7 @@ function execute_scripts_serially(scripts, root, dir, opts) {
                 }
             }
 
-            var execOpts = {cwd: root, printCommand: true, stdio: 'inherit'};
+            var execOpts = {cwd: root, printCommand: opts.verbose, stdio: 'inherit'};
             execOpts.env = {};
             execOpts.env.CORDOVA_VERSION = require('../../package').version;
             execOpts.env.CORDOVA_PLATFORMS = opts.platforms ? opts.platforms.join() : '';


Mime
View raw message