node/deps/npm/node_modules/node-gyp/lib/rebuild.js
isaacs 0a0002b480 npm: Upgrade to 1.1.45
This includes node-gyp 0.6.1
2012-07-24 12:34:13 -07:00

17 lines
335 B
JavaScript

module.exports = exports = rebuild
exports.usage = 'Runs "clean", "configure" and "build" all at once'
var log = require('npmlog')
function rebuild (gyp, argv, callback) {
gyp.todo.push(
{ name: 'clean', args: [] }
, { name: 'configure', args: [] }
, { name: 'build', args: [] }
)
process.nextTick(callback)
}