14 lines
281 B
JavaScript
14 lines
281 B
JavaScript
"use strict";
|
|
|
|
module.exports = exports = rebuild;
|
|
|
|
exports.usage = 'Runs "clean" and "build" at once';
|
|
|
|
function rebuild (gyp, argv, callback) {
|
|
gyp.todo.unshift(
|
|
{ name: 'clean', args: [] },
|
|
{ name: 'build', args: ['rebuild'] }
|
|
);
|
|
process.nextTick(callback);
|
|
}
|