forked from jaredhanson/passport-google-oauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (16 loc) · 572 Bytes
/
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
SOURCES = lib/**/*.js
# ==============================================================================
# Node Tests
# ==============================================================================
VOWS = ./node_modules/.bin/vows
TESTS ?= test/*-test.js
test:
@NODE_ENV=test NODE_PATH=lib $(VOWS) $(TESTS)
# ==============================================================================
# Static Analysis
# ==============================================================================
JSHINT = jshint
hint: lint
lint:
$(JSHINT) $(SOURCES)
.PHONY: test hint lint