Debian Codegraph @

debian/tests/test_modules/gear/Makefile

raw
1 BIN = ./node_modules/.bin
2
3 all: browser test coverage
4
5 browser:
6 -$(BIN)/browserify lib/index.js -s Gear -o build/gear.js
7 -@node bin/gear.js
8
9 test:
10 npm test
11
12 coverage: lib-cov
13 -@GEAR_COVER=1 $(BIN)/mocha --require should --reporter mocha-istanbul
14
15 lib-cov:
16 @$(BIN)/istanbul instrument --output lib-cov --no-compact --variable global.__coverage__ lib
17
18 clean: clean-coverage
19
20 clean-coverage:
21 -rm -rf lib-cov
22 -rm -rf html-report
23
24 .PHONY: test