Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ensure code is generated before attempting to install.
  • Loading branch information
tbranyen committed Jun 22, 2014
commit 494d87aa662b438985ffde291a4fb12695422894
2 changes: 2 additions & 0 deletions install.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ var dependencies = Q.allSettled([
console.info('[nodegit] Failed to build nodegit.');
console.info('[nodegit] Attempting to fallback on a prebuilt binary.');

console.log(message.stack);

function fetchPrebuilt() {
console.info('[nodegit] Fetching binary from S3.');

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
"scripts": {
"lint": "jshint src",
"install": "node install.js",
"install": "npm run codegen && node install.js",
"test": "cd test && nodeunit nodegit.js",
"codegen": "node build/codegen/generate.js",
"publish": "node-pre-gyp package && node-pre-gyp publish"
Expand Down