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