Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (12 sloc) 0.459 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
all: dist/js2coffee.min.js

.PHONY: test

test:
coffee test/test.coffee

dist/js2coffee.js: lib/*
mkdir -p dist
coffee -c lib/js2coffee.coffee
( 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'; File.open('js2coffee.min.js','w') { |f| f.write JSMin.minify(File.read('js2coffee.js')) }"
Something went wrong with that request. Please try again.