node/deps/npm/node_modules/node-gyp/lib/rebuild.js

17 lines
335 B
JavaScript
Raw Normal View History

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