virtex
Version:
Small, focused virtual dom library.
36 lines (26 loc) • 426 B
Plain Text
#
# Vars
#
BIN = ./node_modules/.bin
.DEFAULT_GOAL := all
src = $(shell find src/*.js)
tests = $(shell find test/*.js)
#
# Tasks
#
node_modules: package.json
@npm install
@touch node_modules
test: $(src) $(tests)
@NODE_ENV=development hihat test/index.js -- \
--debug \
-t babelify \
-t envify \
-p tap-dev-tool
validate: node_modules
@${BIN}/standard
all: validate test
#
# Phony
#