CB-5793 Forgot to update ant path for clean.

This commit is contained in:
Andrew Grieve 2014-01-20 10:26:53 -05:00
parent 11d3607688
commit 7094047b3d

View File

@ -28,7 +28,8 @@ var spawn = require('./spawn'),
* Returns a promise.
*/
module.exports.run = function() {
return spawn('ant', ['clean', '-f', path.join(ROOT, 'build.xml')]);
var args = ['clean', '-f', path.join(ROOT, 'build.xml'), '-Dout.dir=ant-build', '-Dgen.dir=ant-build/gen'];
return spawn('ant', args);
}
module.exports.help = function() {