cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [09/14] android commit: Made check_reqs script echo `ANDROID_HOME` and `JAVA_HOME` when run directly
Date Tue, 20 Jan 2015 20:04:16 GMT
Made check_reqs script echo `ANDROID_HOME` and `JAVA_HOME` when run directly


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

Branch: refs/heads/4.0.x
Commit: a56c406aa39b6ba04a9a61c23896b6214353a273
Parents: a3457d9
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Tue Jan 20 13:59:49 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Jan 20 14:14:39 2015 -0500

----------------------------------------------------------------------
 bin/lib/check_reqs.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a56c406a/bin/lib/check_reqs.js
----------------------------------------------------------------------
diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js
index 6c2ec16..8fc0db5 100644
--- a/bin/lib/check_reqs.js
+++ b/bin/lib/check_reqs.js
@@ -237,6 +237,10 @@ module.exports.check_android_target = function(valid_target) {
 
 // Returns a promise.
 module.exports.run = function() {
-    return Q.all([this.check_java(), this.check_android()]);
+    return Q.all([this.check_java(), this.check_android()])
+    .then(function() {
+        console.log('ANDROID_HOME=' + process.env['ANDROID_HOME']);
+        console.log('JAVA_HOME=' + process.env['JAVA_HOME']);
+    });
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message