mirror of
https://github.com/nodejs/node.git
synced 2025-05-13 13:01:31 +00:00

This reverts commit 25a816dcda
.
PR-URL: https://github.com/nodejs/node/pull/19837
Reviewed-By: Gus Caplan <me@gus.host>
15 lines
308 B
JavaScript
15 lines
308 B
JavaScript
|
|
module.exports = exports = rebuild
|
|
|
|
exports.usage = 'Runs "clean", "configure" and "build" all at once'
|
|
|
|
function rebuild (gyp, argv, callback) {
|
|
|
|
gyp.todo.push(
|
|
{ name: 'clean', args: [] }
|
|
, { name: 'configure', args: argv }
|
|
, { name: 'build', args: [] }
|
|
)
|
|
process.nextTick(callback)
|
|
}
|