forked from jaredhanson/passport-http-bearer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (37 loc) · 1.48 KB
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
SOURCES = lib/*.js
TESTS ?= test/*.test.js
lint: lint-jshint
test: test-mocha
test-cov: test-istanbul-mocha
view-cov: view-istanbul-report
# ==============================================================================
# Node.js
# ==============================================================================
include support/mk/node.mk
include support/mk/mocha.mk
# ==============================================================================
# Browserify
# ==============================================================================
BROWSERIFY_MAIN = ./lib/index.js
include support/mk/browserify.mk
include support/mk/testling.mk
# ==============================================================================
# Code Quality
# ==============================================================================
include support/mk/notes.mk
include support/mk/jshint.mk
include support/mk/istanbul.mk
# ==============================================================================
# Continuous Integration
# ==============================================================================
include support/mk/coveralls.mk
ci-travis: test test-cov
submit-coverage-to-coveralls: submit-istanbul-lcov-to-coveralls
# ==============================================================================
# Clean
# ==============================================================================
clean:
rm -rf build
rm -rf reports
clobber: clean clobber-node
.PHONY: lint test test-cov view-cov ci-travis clean clobber