-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (17 loc) · 772 Bytes
/
Makefile
File metadata and controls
24 lines (17 loc) · 772 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
clean:
rm -rf node_modules/*
install:
npm install
test:
./node_modules/.bin/jshint lib/* --config test/jshint/config.json
@NODE_ENV=test ./node_modules/.bin/mocha --recursive --reporter spec --timeout 3000 test/unit
test-cov:
@NODE_ENV=test ./node_modules/.bin/mocha --require blanket --recursive --timeout 3000 -R travis-cov test/unit
test-lcov:
@NODE_ENV=test ./node_modules/.bin/mocha --require blanket --recursive --timeout 3000 -R mocha-lcov-reporter test/unit
test-cov-html:
@NODE_ENV=test ./node_modules/.bin/mocha --require blanket --recursive --timeout 3000 -R html-cov test/unit > test/coverage.html
xdg-open "file://${CURDIR}/test/coverage.html" &
check-deps:
./node_modules/.bin/node-dependencies
.PHONY: test test-cov test-lcov test-cov-html