From 62de2f4a02771840c7b2c85e492059a87e099f9e Mon Sep 17 00:00:00 2001 From: brianc Date: Thu, 30 Dec 2010 21:26:23 -0600 Subject: [PATCH] added 'bench' task to makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e5ff2f8d..e9c4cc0e 100644 --- a/Makefile +++ b/Makefile @@ -11,11 +11,14 @@ params := -u $(user) --password $(password) -p $(port) -d $(database) -h $(host) node-command := xargs -n 1 -I file node file $(params) -.PHONY : test test-connection test-integration +.PHONY : test test-connection test-integration bench test: test-unit test-all: test-unit test-integration +bench: + @find benchmark -name "*-bench.js" | $(node-command) + test-unit: @find test/unit -name "*-tests.js" | $(node-command)