mirror of https://github.com/jkjoy/sunpeiwen.git
14 lines
327 B
JavaScript
14 lines
327 B
JavaScript
'use strict'
|
|
|
|
function rebuild (gyp, argv, callback) {
|
|
gyp.todo.push(
|
|
{ name: 'clean', args: [] }
|
|
, { name: 'configure', args: argv }
|
|
, { name: 'build', args: [] }
|
|
)
|
|
process.nextTick(callback)
|
|
}
|
|
|
|
module.exports = rebuild
|
|
module.exports.usage = 'Runs "clean", "configure" and "build" all at once'
|