1 | test-cov:
|
2 | rm -rf lib-js lib-js-cov
|
3 | coffee -c -o lib-js lib
|
4 | jscoverage lib-js lib-js-cov
|
5 | NODE_ENV=test TEST_COV_CLEVERJS=1 node_modules/mocha/bin/mocha -R html-cov --ignore-leaks --compilers coffee:coffee-script test/*.coffee | tee coverage.html
|
6 | open coverage.html
|
7 |
|
8 | test:
|
9 | NODE_ENV=test node_modules/mocha/bin/mocha --ignore-leaks --timeout 60000 --reporter spec --compilers coffee:coffee-script test/*.coffee
|
10 |
|
11 | clean:
|
12 | rm -rf lib-js lib-js-cov
|