Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Commit

Permalink
make: use make for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Nov 9, 2016
1 parent bbe7e64 commit 813cc8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -19,3 +19,4 @@ deps/ringbuffer/out
# Text editors swap files/backups
*.swp
*~
.DS_Store
3 changes: 3 additions & 0 deletions Makefile
@@ -0,0 +1,3 @@
publish:
rm -rf bin/ && mkdir bin && touch bin/bud
npm publish
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -21,7 +21,6 @@
"options.gypi"
],
"scripts": {
"prepublish": "rm -rf bin/ && mkdir bin && touch bin/bud",
"install": "node_modules/.bin/gypkg build bud.gyp.json --insecure",
"test": "mocha --reporter spec test/*-test.js"
},
Expand Down

0 comments on commit 813cc8d

Please sign in to comment.