| 1 |
# |
| 2 |
# Copyright (c) 2017, 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 |
# Files |
| 13 |
# |
| 14 |
CATEST = deps/catest/catest |
| 15 |
JSL = jsl |
| 16 |
JSSTYLE = jsstyle |
| 17 |
JS_FILES := $(shell find examples lib -name '*.js') |
| 18 |
JSL_FILES_NODE = $(JS_FILES) |
| 19 |
JSSTYLE_FILES = $(JS_FILES) |
| 20 |
JSL_CONF_NODE = jsl.node.conf |
| 21 |
|
| 22 |
# Default target is "check" |
| 23 |
check: |
| 24 |
|
| 25 |
test: | $(CATEST) |
| 26 |
$(CATEST) -a |
| 27 |
|
| 28 |
CATEST: deps/catest/.git |
| 29 |
|
| 30 |
include ./Makefile.targ |