Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (26 sloc) 0.715 kb
.PHONY: all serve clean
all: src/*coffee
@coffee -v > /dev/null
coffee -o lib/ -c src/*.coffee
serve:
@while [ 1 ]; do \
make all; \
sleep 0.1; \
inotifywait -r -q -e modify .; \
done
clean:
rm -f lib/*.js
# Release process:
# 1) commit everything
# 2) amend version in package.json
# 3) run 'make tag' and run suggested 'git push' variants
# 4) run 'npm publish'
RVER:=$(shell grep "version" package.json|tr '\t"' ' \t'|cut -f 4)
VER:=$(shell ./VERSION-GEN)
.PHONY: tag
tag: all
-git tag -d v$(RVER)
git commit $(TAG_OPTS) package.json Changelog -m "Release $(RVER)"
git tag -a v$(RVER) -m "Release $(RVER)"
@echo ' [*] Now run'
@echo 'git push; git push --tag'
Jump to Line
Something went wrong with that request. Please try again.