Skip to content

Commit 3899894

Browse files
committed
Merge pull request nodegit#486 from nodegit/fix-prebuilt
Revert node-pre-gyp to install not build
2 parents 78ea2c5 + 070ae12 commit 3899894

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lifecycleScripts/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ return whichNativeNodish("..")
3939
return checkAndBuild();
4040
}
4141
console.info("[nodegit] Fetching binary from S3.");
42-
return exec("node-pre-gyp build")
42+
return exec("node-pre-gyp install")
4343
.then(
4444
function() {
4545
console.info("[nodegit] Completed installation successfully.");

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@
9393
"install": "node lifecycleScripts/install",
9494
"installDebug": "BUILD_DEBUG=true npm install",
9595
"postinstall": "node lifecycleScripts/clean",
96-
"recompile": "node-gyp configure build",
97-
"rebuild": "node generate && node-gyp configure build",
98-
"recompileDebug": "node-gyp configure --debug build",
99-
"rebuildDebug": "node generate && node-gyp configure --debug build"
96+
"recompile": "pangyp configure build",
97+
"rebuild": "node generate && pangyp configure build",
98+
"recompileDebug": "pangyp configure --debug build",
99+
"rebuildDebug": "node generate && pangyp configure --debug build"
100100
}
101101
}

0 commit comments

Comments
 (0)