CB-5209: Dirty, Dirty Fix for Building. This works, but needs to be prettier.

This commit is contained in:
Joe Bowser 2013-10-29 14:27:46 -04:00
parent 6e4ef508e8
commit 96d4a22215
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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() {