Skip to content

Commit

Permalink
use prebuild --install
Browse files Browse the repository at this point in the history
will download prebuilt binary when installed from npm and compile
in all other cases, e.g. when just cloning the repo or using a git+
link in package.json
  • Loading branch information
ralphtheninja committed Jan 1, 2016
1 parent 7e5c2fa commit 7535949
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ addons:

before_install:
- export JOBS=max
- export prebuild_compile=true

node_js:
- "5"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"tape": "~4.3.0"
},
"scripts": {
"install": "prebuild --download",
"install": "prebuild --install",
"test": "tape test/*-test.js | faucet",
"rebuild": "prebuild --compile",
"prebuild": "prebuild --all --strip --verbose"
Expand Down

0 comments on commit 7535949

Please sign in to comment.