Made check_reqs script echo ANDROID_HOME and JAVA_HOME when run directly

This commit is contained in:
Andrew Grieve 2015-01-20 13:59:49 -05:00
parent a3457d9408
commit a56c406aa3

View File

@ -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']);
});
}