Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 645 Bytes
generate-js: deps
@find src -name '*.coffee' | xargs coffee -c -o lib
remove-js:
@rm -fr lib/
deps:
@test `which coffee` || echo 'You need to have CoffeeScript in your PATH.\nPlease install it using `brew install coffee-script` or `npm install coffee-script`.'
test: deps
@find test -name '*_test.coffee' | xargs -n 1 -t coffee
publish: generate-js
@test `which npm` || echo 'You need npm to do npm publish... makes sense?'
npm publish
@remove-js
link: generate-js
@test `which npm` || echo 'You need npm to do npm link... makes sense?'
npm link
@remove-js
dev: generate-js
@coffee -wc --no-wrap -o lib src/*.coffee
.PHONY: all
Something went wrong with that request. Please try again.