mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
CB-5209: Dirty, Dirty Fix for Building. This works, but needs to be prettier.
This commit is contained in:
parent
6e4ef508e8
commit
96d4a22215
4
bin/templates/cordova/lib/build.js
vendored
4
bin/templates/cordova/lib/build.js
vendored
@ -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...');
|
||||
|
2
bin/templates/cordova/lib/clean.js
vendored
2
bin/templates/cordova/lib/clean.js
vendored
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user