Opal-Estate-Pro/node_modules/node-gyp/lib/rebuild.js

15 lines
308 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
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)
}