2011-03-20 02:28:40 -04:00
|
|
|
|
|
|
|
tests := $(shell find . \
|
|
|
|
-name 'test-*' \
|
|
|
|
-a ! -name 'test-combine*.js'\
|
2011-08-29 23:17:44 -04:00
|
|
|
-o -name '*Test.*' \
|
2011-03-20 02:28:40 -04:00
|
|
|
)
|
|
|
|
tests_combine := test-combine*.js
|
|
|
|
|
|
|
|
.PHONY: FORCE test test-combine
|
|
|
|
|
|
|
|
|
|
|
|
default: $(tests) combine
|
|
|
|
combine: $(tests_combine)
|
|
|
|
|
2011-08-11 23:25:20 -04:00
|
|
|
%.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
|
|
|
|
./$@
|