Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (10 sloc) 0.261 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
JS_TESTER = ./node_modules/vows/bin/vows
PEG_COMPILER = ./node_modules/pegjs/bin/pegjs

.PHONY: test

%.js: %.peg Makefile
$(PEG_COMPILER) < $< > $@

all: \
lib/cube/server/event-expression.js \
lib/cube/server/metric-expression.js

test: all
@$(JS_TESTER)
Something went wrong with that request. Please try again.