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

function rebuild (gyp, argv, callback) {
  gyp.todo.push(
    { name: 'clean', args: [] }
    , { name: 'configure', args: argv }
    , { name: 'build', args: [] }
  )
  process.nextTick(callback)
}

module.exports = rebuild
module.exports.usage = 'Runs "clean", "configure" and "build" all at once'