forked from TritonDataCenter/node-jsprim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (35 loc) · 748 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Copyright (c) 2012, Joyent, Inc. All rights reserved.
#
# Makefile: top-level Makefile
#
# This Makefile contains only repo-specific logic and uses included makefiles
# to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are
# used by other repos as well.
#
#
# Tools
#
NPM ?= npm
#
# Files
#
JS_FILES := $(shell find lib test -name '*.js')
JSL_FILES_NODE = $(JS_FILES)
JSSTYLE_FILES = $(JS_FILES)
JSL_CONF_NODE = jsl.node.conf
.PHONY: all
all:
$(NPM) install
.PHONY: test
test:
node test/basic.js
node test/validate.js
node test/hrtimediff.js
node test/hrtimesecs.js
node test/hrtimeadd.js
node test/extraprops.js
node test/merge.js
node test/parse-integer.js
@echo tests okay
include ./Makefile.targ