File: Makefile

package info (click to toggle)
node-jsprim 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 228 kB
  • ctags: 191
  • sloc: makefile: 20; sh: 2
file content (40 lines) | stat: -rw-r--r-- 766 bytes parent folder | download | duplicates (2)
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:
	nodejs test/basic.js
	nodejs test/validate.js
	nodejs test/hrtimediff.js
	nodejs test/hrtimesecs.js
	nodejs test/hrtimeadd.js
	nodejs test/extraprops.js
	nodejs test/merge.js
	nodejs test/parse-integer.js
	@echo tests okay

#include ./Makefile.targ