diff options
Diffstat (limited to 'deps/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/rebuild.js')
-rw-r--r-- | deps/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/rebuild.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deps/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/rebuild.js b/deps/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/rebuild.js new file mode 100644 index 0000000000..4c6f472aa7 --- /dev/null +++ b/deps/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/rebuild.js @@ -0,0 +1,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) +} |