UNPKG
hazmat
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Validation and sanitization of input parameters
ooyala/hazmat
hazmat
/
Makefile
17 lines
(11 loc)
•
287 B
Plain Text
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
REPORTER = spec
test:
@HAZMAT_TEST=1 ./node_modules/.bin/mocha -R
$(REPORTER)
test-cov: lib-cov
@mkdir -p report @HAZMAT_COV=1
$(MAKE)
test REPORTER=html-cov >report/coverage.html
lib-cov: clean
@jscoverage --no-highlight lib lib-cov
clean:
@rm -rf report lib-cov
.PHONY
: test