rebuild.js 314 B

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