1 | REPORTER = dot
|
2 |
|
3 | build:
|
4 | @./node_modules/.bin/coffee -b -o lib src/*.coffee
|
5 |
|
6 | test: build
|
7 | @NODE_ENV=test ./node_modules/.bin/mocha --compilers coffee:coffee-script \
|
8 | --reporter $(REPORTER)
|
9 |
|
10 | coverage: build
|
11 | @jscoverage --no-highlight lib lib-cov
|
12 | @DOJO_COV=1 $(MAKE) test REPORTER=html-cov > doc/coverage.html
|
13 | @rm -rf lib-cov
|
14 |
|
15 | .PHONY: test
|