Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
# |
| 2 |
# Copyright (c) 2012, Joyent, Inc. All rights reserved. |
| 3 |
# |
| 4 |
# Makefile: top-level Makefile |
| 5 |
# |
| 6 |
# This Makefile contains only repo-specific logic and uses included makefiles |
| 7 |
# to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are |
| 8 |
# used by other repos as well. |
| 9 |
# |
| 10 |
|
| 11 |
# |
| 12 |
# Tools |
| 13 |
# |
| 14 |
NPM ?= npm |
| 15 |
|
| 16 |
# |
| 17 |
# Files |
| 18 |
# |
| 19 |
JS_FILES := $(shell find lib test -name '*.js') |
| 20 |
JSL_FILES_NODE = $(JS_FILES) |
| 21 |
JSSTYLE_FILES = $(JS_FILES) |
| 22 |
JSL_CONF_NODE = jsl.node.conf |
| 23 |
|
| 24 |
.PHONY: all |
| 25 |
all: |
| 26 |
$(NPM) install |
| 27 |
|
| 28 |
.PHONY: test |
| 29 |
test: |
| 30 |
node test/basic.js |
| 31 |
node test/validate.js |
| 32 |
node test/hrtimediff.js |
| 33 |
node test/hrtimesecs.js |
| 34 |
node test/hrtimeadd.js |
| 35 |
node test/extraprops.js |
| 36 |
node test/merge.js |
| 37 |
node test/parse-integer.js |
| 38 |
@echo tests okay |
| 39 |
|
| 40 |
include ./Makefile.targ |