Navigation Menu

Skip to content

Commit

Permalink
Add make file
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Nov 13, 2012
1 parent 2250432 commit 74a6a79
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
@@ -0,0 +1,15 @@
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)

coverage: build
@jscoverage --no-highlight lib lib-cov
@HIVE_COV=1 $(MAKE) test REPORTER=html-cov > doc/coverage.html
@rm -rf lib-cov

.PHONY: test

0 comments on commit 74a6a79

Please sign in to comment.