VERSION := $(shell node -e "console.log(require('./package.json').version)") .PHONY: test release test: @./node_modules/karma/bin/karma start ./test/karma.conf.js --no-auto-watch --single-run release: @git tag -m "$(VERSION)" v$(VERSION) @git push --tags @gem build robeaux.gemspec @gem push robeaux-$(VERSION).gem @npm publish ./