Permalink
Browse files

Bring back GYP clean and condense build

  • Loading branch information...
1 parent 6f15ebd commit 9e7b7512cb4ee93ddd49fd8adedc484026e9d4e8 @tbranyen tbranyen committed Jul 11, 2014
Showing with 2 additions and 12 deletions.
  1. +2 −12 install.js
View
@@ -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

0 comments on commit 9e7b751

Please sign in to comment.