Skip to content

Commit 0eacc90

Browse files
committed
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 ````
1 parent d3583d7 commit 0eacc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rebuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function rebuild (gyp, argv, callback) {
99

1010
gyp.todo.push(
1111
{ name: 'clean', args: [] }
12-
, { name: 'configure', args: [] }
12+
, { name: 'configure', args: argv }
1313
, { name: 'build', args: [] }
1414
)
1515
process.nextTick(callback)

0 commit comments

Comments
 (0)