2011-03-20 02:28:40 -04:00
|
|
|
|
|
|
|
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
|
2011-07-06 18:06:22 -04:00
|
|
|
node --stack_trace_limit=20 $@
|
2011-03-20 02:28:40 -04:00
|
|
|
test-%: FORCE
|
|
|
|
./$@
|