diff --git a/Makefile b/Makefile index 0cf386c..8388f9b 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,7 @@ PATH_BROWSER_TEST=${PATH_TOOLS}/browser-test.html COMBINE=${PATH_TOOLS}/combine -TESTS_JS := $(shell find "./test" -name 'test-*.js') -TESTS_SHELL := $(shell find "./test" -name 'test-[^\.]*') +TESTS := $(shell find "./test" -name 'test-*') .PHONY: test @@ -28,7 +27,7 @@ combine: mkbuild cp ${PATH_BROWSER_TEST} ${PATH_BUILD} # run tests -test: default $(TESTS_JS) $(TESTS_SHELL) +test: default $(TESTS) test-%.js: default node $@ test-%: default