add make build task

This commit is contained in:
Sebastian McKenzie 2015-01-18 00:25:01 +11:00
parent 58f84e595f
commit 1322501276

View File

@ -1,10 +1,13 @@
.PHONY: publish
.PHONY: publish build
build:
node bin/without_eval >acorn_csp.js
publish:
read -p "Version: " version; \
npm version $$version --message "v%s"
node bin/without_eval >acorn_csp.js
make build
npm publish
git push --follow-tags