-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (18 loc) · 737 Bytes
/
Makefile
File metadata and controls
26 lines (18 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
install:
@npm install --production
dev:
@npm install
clean:
@rm -rf ./lib-cov coverage.html docs/
test: dev
@./node_modules/.bin/mocha -u tdd --check-leaks --recursive -R spec ./test
test-cov: dev lib-cov
@COVERAGE=1 ./node_modules/.bin/mocha -u tdd --check-leaks --recursive -R html-cov ./test > coverage.html
test-coveralls: lib-cov
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@COVERAGE=1 ./node_modules/.bin/mocha -u tdd --check-leaks --recursive -R mocha-lcov-reporter ./test | ./node_modules/.bin/coveralls
lib-cov:
@./node_modules/.bin/jscoverage --no-highlight lib lib-cov
docs: dev
@./node_modules/.bin/jsdoc --recurse --destination docs README.md lib
.PHONY: install dev clean test test-cov test-coveralls lib-cov docs