1
0
Fork 0
easejs/test/Makefile

18 lines
247 B
Makefile

tests := $(shell find . \
-name 'test-*' \
-a ! -name 'test-combine*.js'\
)
tests_combine := test-combine*.js
.PHONY: FORCE test test-combine
default: $(tests) combine
combine: $(tests_combine)
test-%.js: FORCE
node $@
test-%: FORCE
./$@