-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 776 Bytes
/
Makefile
File metadata and controls
30 lines (24 loc) · 776 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
27
28
29
30
lint:
./node_modules/.bin/jshint ./error.js
test:
@$(MAKE) lint
@NODE_ENV=test ./node_modules/.bin/mocha -u tdd \
--require blanket
--reporter spec
test-cov:
@$(MAKE) lint
@NODE_ENV=test ./node_modules/.bin/mocha -u tdd \
--require blanket \
--reporter travis-cov
test-codeclimate:
@NODE_ENV=test ./node_modules/.bin/mocha -u tdd \
--require blanket \
--reporter mocha-lcov-reporter \
| CODECLIMATE_REPO_TOKEN=adf6c7b92f4cf913d8c42e7add4f1d37352502cb782aab49e51ef1e577b114ac ./node_modules/.bin/codeclimate
test-coveralls:
@NODE_ENV=test YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha -u tdd \
--require blanket \
--reporter mocha-lcov-reporter \
| ./node_modules/coveralls/bin/coveralls.js
test-all: test test-cov test-coveralls
.PHONY: test