CB-7321 Don't require ant for create script

This commit is contained in:
Andrew Grieve
2014-08-15 13:58:53 -04:00
parent 4319447cb5
commit 95aa5c9f1c
3 changed files with 12 additions and 4 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ module.exports.get_target = function() {
}
}
// Returns a promise.
// Returns a promise. Called only by build and clean commands.
module.exports.check_ant = function() {
return tryCommand('ant -version', 'Failed to run "ant -version", make sure you have ant installed and added to your PATH.');
}
@@ -123,6 +123,6 @@ module.exports.check_android = function() {
// Returns a promise.
module.exports.run = function() {
return Q.all([this.check_ant(), this.check_java(), this.check_android()]);
return Q.all([this.check_java(), this.check_android()]);
}