coffee-toaster
Version:
Minimalist build system for CoffeeScript.
37 lines (26 loc) • 617 B
Plain Text
VERSION=`coffee build/bumper.coffee --version`
watch:
build/coffee-toaster/bin/toaster . -w
build:
build/coffee-toaster/bin/toaster . -c
test: build
node_modules/vows/bin/vows spec/*.coffee --spec
bump.minor:
coffee build/bumper.coffee --minor
bump.major:
coffee build/bumper.coffee --major
bump.patch:
coffee build/bumper.coffee --patch
publish:
git tag $(VERSION)
git push origin $(VERSION)
git push origin master
npm publish
re-publish:
git tag -d $(VERSION)
git tag $(VERSION)
git push origin :$(VERSION)
git push origin $(VERSION)
git push origin master -f
npm publish -f