Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bring back GYP clean and condense build

  • Loading branch information...
commit 9e7b7512cb4ee93ddd49fd8adedc484026e9d4e8 1 parent 6f15ebd
@tbranyen tbranyen authored
Showing with 2 additions and 12 deletions.
  1. +2 −12 install.js
View
14 install.js
@@ -120,23 +120,13 @@ var dependencies = Q.allSettled([
});
})
-// Configure the native module using node-gyp.
-.then(function() {
- console.info('[nodegit] Configuring native node module.');
-
- return Q.nfcall(exec, systemPath([
- '.', 'node_modules', '.bin', 'node-gyp configure --python ' + python
- ]), {
- cwd: '.'
- });
-})
-
// Build the native module using node-gyp.
.then(function() {
console.info('[nodegit] Building native node module.');
+ var pythonFlag = ' --python ' + python;
return Q.nfcall(exec, systemPath([
- '.', 'node_modules', '.bin', 'node-gyp build'
+ '.', 'node_modules', '.bin', 'node-gyp clean configure build' + pythonFlag
]), {
cwd: '.',
maxBuffer: Number.MAX_VALUE
Please sign in to comment.
Something went wrong with that request. Please try again.