Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (28 sloc) 682 Bytes
#
# Copyright (c) 2013, 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 must be installed on the path
#
JSL = jsl
JSSTYLE = jsstyle
#
# Files
#
JS_FILES := $(shell find lib tests -name '*.js')
JSL_FILES_NODE = $(JS_FILES)
JSSTYLE_FILES = $(JS_FILES)
JSL_CONF_NODE = jsl.node.conf
DISTCLEAN_FILES += node_modules
all:
npm install
test:
(set -o pipefail; node tests/tst.httpstream.js | bunyan -o short)
@echo tests passed
include ./Makefile.targ