1
0
mirror of https://gitlab.com/Deukhoofd/BattleSim.git synced 2025-09-01 16:37:20 +00:00
BattleSim/Makefile
2016-02-01 23:19:30 +01:00

19 lines
373 B
Makefile

HTMLDOCS = $(DOCS:.md=.html)
REPORTER = spec
test:
NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) --require should --compilers coffee:coffee-script/register
test-cov: lib-cov
NUGGETBRIDGE_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
lib-cov:
rm -rf server-cov
coffee -c server
jscoverage server server-cov
rm server/*.js
.PHONY: test