forked from kusor/node-workflow-redis-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (32 loc) · 646 Bytes
/
Makefile
File metadata and controls
39 lines (32 loc) · 646 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
31
32
33
34
35
36
37
38
39
#
# Copyright (c) 2012, Joyent, Inc. All rights reserved.
#
#
# Tools
#
NPM := $(shell which npm)
TAP := ./node_modules/.bin/tap
#
# Files
#
JS_FILES := $(shell ls *.js) $(shell find lib test -name '*.js')
JSL_CONF_NODE = tools/jsl.node.conf
JSL_FILES_NODE = $(JS_FILES)
JSSTYLE_FILES = $(JS_FILES)
JSSTYLE_FLAGS = -o indent=4,doxygen,unparenthesized-return=0
#
# Repo-specific targets
#
.PHONY: all
all: test check
.PHONY: setup
setup: $(NPM)
$(NPM) install
.PHONY: test
test: setup $(TAP)
$(TAP) test/*.test.js
.PHONY: coverage
coverage: $(TAP)
TAP_COV=1 $(TAP) test/*.test.js
include ./Makefile.deps
include ./Makefile.targ