Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 459 Bytes
all: dist/js2coffee.min.js
.PHONY: test
coffee test/
dist/js2coffee.js: lib/*
mkdir -p dist
coffee -c lib/
( cat lib/narcissus_packed.js; cat lib/js2coffee.js ) > dist/js2coffee.js
rm lib/js2coffee.js
dist/js2coffee.min.js: dist/js2coffee.js
# Because YUIcompressor seems to screw it up
cd dist && ruby -e "require 'jsmin';'js2coffee.min.js','w') { |f| f.write JSMin.minify('js2coffee.js')) }"
Something went wrong with that request. Please try again.