rebuild.js 308 B

1234567891011121314
  1. module.exports = exports = rebuild
  2. exports.usage = 'Runs "clean", "configure" and "build" all at once'
  3. function rebuild (gyp, argv, callback) {
  4. gyp.todo.push(
  5. { name: 'clean', args: [] }
  6. , { name: 'configure', args: argv }
  7. , { name: 'build', args: [] }
  8. )
  9. process.nextTick(callback)
  10. }