mirror of
https://github.com/nodejs/node.git
synced 2025-05-13 08:56:32 +00:00

PR-URL: https://github.com/nodejs/node/pull/28853 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
14 lines
314 B
JavaScript
14 lines
314 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'
|