orionsoft-react-scripts
Version:
Orionsoft Configuration and scripts for Create React App.
36 lines (30 loc) • 653 B
Plain Text
#
# 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 examples tests -name '*.js')
JSL_FILES_NODE = $(JS_FILES)
JSSTYLE_FILES = $(JS_FILES)
JSL_CONF_NODE = jsl.node.conf
all:
$(NPM) install
test:
node tests/tst.inherit.js
node tests/tst.verror.js
node tests/tst.werror.js
@echo all tests passed
include ./Makefile.targ