From 7f6a5082b262501778bf29334fe2f21721c8c0e4 Mon Sep 17 00:00:00 2001 From: brianc Date: Tue, 22 Feb 2011 22:51:30 -0600 Subject: [PATCH] added ugly 'build' task to makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 98f4dd3..e204526 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ 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 bench +.PHONY : test test-connection test-integration bench test-libpg build test: test-unit test-all: test-unit test-integration @@ -19,13 +19,16 @@ test-all: test-unit test-integration bench: @find benchmark -name "*-bench.js" | $(node-command) +build: + @node-waf configure build + test-unit: @find test/unit -name "*-tests.js" | $(node-command) test-connection: @node script/test-connection.js $(params) -test-libpg: test-unit +test-libpg: build test-unit @find test/integration/client -name "*-tests.js" | $(node-command) --libpg true test-integration: test-connection