File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -120,23 +120,13 @@ var dependencies = Q.allSettled([
120120 } ) ;
121121} )
122122
123- // Configure the native module using node-gyp.
124- . then ( function ( ) {
125- console . info ( '[nodegit] Configuring native node module.' ) ;
126-
127- return Q . nfcall ( exec , systemPath ( [
128- '.' , 'node_modules' , '.bin' , 'node-gyp configure --python ' + python
129- ] ) , {
130- cwd : '.'
131- } ) ;
132- } )
133-
134123// Build the native module using node-gyp.
135124. then ( function ( ) {
136125 console . info ( '[nodegit] Building native node module.' ) ;
126+ var pythonFlag = ' --python ' + python ;
137127
138128 return Q . nfcall ( exec , systemPath ( [
139- '.' , 'node_modules' , '.bin' , 'node-gyp build'
129+ '.' , 'node_modules' , '.bin' , 'node-gyp clean configure build' + pythonFlag
140130 ] ) , {
141131 cwd : '.' ,
142132 maxBuffer : Number . MAX_VALUE
You can’t perform that action at this time.
0 commit comments