mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00

BREAKING CHANGE: All internal functions have been coverted to return promises and no longer accept callbacks. This is not a breaking change for users but may be breaking to consumers of `node-gyp` if you are requiring internal functions directly.
12 lines
281 B
JavaScript
12 lines
281 B
JavaScript
'use strict'
|
|
|
|
async function rebuild (gyp, argv) {
|
|
gyp.todo.push(
|
|
{ name: 'clean', args: [] }
|
|
, { name: 'configure', args: argv }
|
|
, { name: 'build', args: [] }
|
|
)
|
|
}
|
|
|
|
module.exports = rebuild
|
|
module.exports.usage = 'Runs "clean", "configure" and "build" all at once'
|