mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
CB-5209: Dirty, Dirty Fix for Building. This works, but needs to be prettier.
This commit is contained in:
Vendored
+2
-2
@@ -37,10 +37,10 @@ module.exports.run = function(build_type) {
|
||||
var cmd;
|
||||
switch(build_type) {
|
||||
case '--debug' :
|
||||
cmd = 'ant debug -f ' + path.join(ROOT, 'build.xml');
|
||||
cmd = 'ant debug -f "' + path.join(ROOT, 'build.xml') + '"';
|
||||
break;
|
||||
case '--release' :
|
||||
cmd = 'ant release -f ' + path.join(ROOT, 'build.xml');
|
||||
cmd = 'ant release -f "' + path.join(ROOT, 'build.xml') + '"';
|
||||
break;
|
||||
case '--nobuild' :
|
||||
console.log('Skipping build...');
|
||||
|
||||
Vendored
+1
-1
@@ -28,7 +28,7 @@ var exec = require('./exec'),
|
||||
* Returns a promise.
|
||||
*/
|
||||
module.exports.run = function() {
|
||||
return exec('ant clean -f ' + path.join(ROOT, 'build.xml'));
|
||||
return exec('ant clean -f "' + path.join(ROOT, 'build.xml') + '"');
|
||||
}
|
||||
|
||||
module.exports.help = function() {
|
||||
|
||||
Reference in New Issue
Block a user