mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
CB-5793 Forgot to update ant path for clean.
This commit is contained in:
parent
11d3607688
commit
7094047b3d
3
bin/templates/cordova/lib/clean.js
vendored
3
bin/templates/cordova/lib/clean.js
vendored
@ -28,7 +28,8 @@ var spawn = require('./spawn'),
|
|||||||
* Returns a promise.
|
* Returns a promise.
|
||||||
*/
|
*/
|
||||||
module.exports.run = function() {
|
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() {
|
module.exports.help = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user