forked from jaredhanson/passport-remember-me
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 650 Bytes
/
Makefile
File metadata and controls
28 lines (20 loc) · 650 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
SOURCES = lib/**/*.js
TESTS = test/*.test.js
# ==============================================================================
# Node Tests
# ==============================================================================
MOCHA = ./node_modules/.bin/mocha
test: test-node
test-node:
@NODE_PATH=./lib \
$(MOCHA) \
--reporter spec \
--require test/bootstrap/node $(TESTS)
# ==============================================================================
# Static Analysis
# ==============================================================================
JSHINT = jshint
hint: lint
lint:
$(JSHINT) $(SOURCES)
.PHONY: test test-node hint lint