clever
Version:
Node.js library for interacting with the Clever API
15 lines (11 loc) • 471 B
Plain Text
test-cov:
rm -rf lib-js lib-js-cov
coffee -c -o lib-js lib
jscoverage lib-js lib-js-cov
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
open coverage.html
test:
NODE_ENV=test node_modules/mocha/bin/mocha --ignore-leaks --timeout 60000 --reporter spec --compilers coffee:coffee-script test/*.coffee
clean:
rm -rf lib-js lib-js-cov
.PHONY: test-cov test