aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/node-gyp/lib/rebuild.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--node_modules/node-gyp/lib/rebuild.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/node-gyp/lib/rebuild.js b/node_modules/node-gyp/lib/rebuild.js
new file mode 100644
index 0000000..6098176
--- /dev/null
+++ b/node_modules/node-gyp/lib/rebuild.js
@@ -0,0 +1,12 @@
+'use strict'
+
+async function rebuild (gyp, argv) {
+ gyp.todo.push(
+ { name: 'clean', args: [] }
+ , { name: 'configure', args: argv }
+ , { name: 'build', args: [] }
+ )
+}
+
+module.exports = rebuild
+module.exports.usage = 'Runs "clean", "configure" and "build" all at once'