Skip to content

Commit

Permalink
Node-gyp exit 1 on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Thann committed Mar 9, 2018
1 parent d40d801 commit 5b02617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "Christopher Jeffrey <chjjeffrey@gmail.com>",
"main": "./lib/bcrypto.js",
"scripts": {
"install": "node-gyp rebuild || echo 'Build failed.'",
"install": "node-gyp rebuild || (echo 'Build failed.' && exit 1)",
"browserify": "browserify -s bcrypto lib/bcrypto.js | uglifyjs -c > bcrypto.js",
"clean": "rm -f bcrypto.js",
"lint": "eslint lib/ test/ || exit 0",
Expand Down

0 comments on commit 5b02617

Please sign in to comment.