Permalink
Browse files

Makefile to compile and run tests

  • Loading branch information...
1 parent 3215472 commit e509f4231e85337bb04f1d13cdfc6ce01f2f4b27 @wdavidw wdavidw committed Nov 13, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 Makefile
View
@@ -0,0 +1,10 @@
+REPORTER = dot
+
+build:
+ @./node_modules/.bin/coffee -b -o lib src/*.coffee
+
+test: build
+ @NODE_ENV=test ./node_modules/.bin/mocha --compilers coffee:coffee-script \
+ --reporter $(REPORTER)
+
+.PHONY: test

0 comments on commit e509f42

Please sign in to comment.