From 0eacc90adcf7e7154c16bc5a4b7e4b435ea0caf0 Mon Sep 17 00:00:00 2001 From: David Siegel Date: Thu, 13 Nov 2014 18:34:31 +0100 Subject: [PATCH] rebuild: forward arguments to configure phase The rebuild command currently ignores additional command line arguments. I think it makes sense to pass these arguments to the configure phase: ```` > node-gyp rebuild -- -I some.gypi ```` --- lib/rebuild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rebuild.js b/lib/rebuild.js index 595d87a7d4..497ffbd967 100644 --- a/lib/rebuild.js +++ b/lib/rebuild.js @@ -9,7 +9,7 @@ function rebuild (gyp, argv, callback) { gyp.todo.push( { name: 'clean', args: [] } - , { name: 'configure', args: [] } + , { name: 'configure', args: argv } , { name: 'build', args: [] } ) process.nextTick(callback)