Permalink
Browse files

Compile js from coffee

  • Loading branch information...
1 parent 7b50c4f commit fe972f0286c9d520aa9149db5731ed96271da8de @wdavidw wdavidw committed Nov 15, 2012
View
@@ -1,11 +1,19 @@
REPORTER = dot
-doc:
+build:
+ @./node_modules/.bin/coffee -b -o lib src/*.coffee
+
+doc: build
@./node_modules/.bin/coffee lib/doc $(RON_DOC)
-test:
+test: build
@NODE_ENV=test ./node_modules/.bin/mocha --compilers coffee:coffee-script \
--reporter $(REPORTER)
+coverage: build
+ @jscoverage --no-highlight lib lib-cov
+ @RON_COV=1 $(MAKE) test REPORTER=html-cov > doc/coverage.html
+ @rm -rf lib-cov
+
.PHONY: test
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit fe972f0

Please sign in to comment.