node-gyp/lib/rebuild.js
Luke Karrys 355622f4aa feat: convert all internal functions to async/await
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.
2023-10-28 08:59:57 -07:00

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'