32 lines
594 B
Makefile
32 lines
594 B
Makefile
#
|
|
# 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 must be installed on the path
|
|
#
|
|
JSL = jsl
|
|
JSSTYLE = jsstyle
|
|
|
|
#
|
|
# Files
|
|
#
|
|
JS_FILES := $(shell find lib tests -name '*.js' -not -name compat.js)
|
|
JSL_FILES_NODE = $(JS_FILES)
|
|
JSSTYLE_FILES = $(JS_FILES)
|
|
JSL_CONF_NODE = jsl.node.conf
|
|
|
|
all:
|
|
npm install
|
|
|
|
test:
|
|
npm test
|
|
|
|
include ./Makefile.targ
|