summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/node-gyp/lib/rebuild.js
blob: 4c6f472aa7c07dec14e2efc5938fcc872b48e0ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

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)
}