Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 250 Bytes
SHELL := /bin/bash
version = $(shell node -p "require('./package.json').version")
default:
npm test
install:
rm -rf node_modules
npm install
release: default
git tag -a -m "Release ${version}" v${version}
git push --follow-tags
npm publish