mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Compile bindings before any integration tests
This commit is contained in:
parent
a4caea51be
commit
b38d60dc26
7
Makefile
7
Makefile
@ -12,11 +12,14 @@ node-command := xargs -n 1 -I file node file $(params)
|
||||
all:
|
||||
npm install
|
||||
|
||||
build:
|
||||
node-gyp rebuild
|
||||
|
||||
help:
|
||||
@echo "make prepare-test-db [connectionString=postgres://<your connection string>]"
|
||||
@echo "make test-all [connectionString=postgres://<your connection string>]"
|
||||
|
||||
test: test-unit
|
||||
test: test-unit
|
||||
|
||||
test-all: jshint test-unit test-integration test-native test-binary
|
||||
|
||||
@ -49,7 +52,7 @@ test-native: build/default/binding.node
|
||||
@find test/native -name "*-tests.js" | $(node-command)
|
||||
@find test/integration -name "*-tests.js" | $(node-command) native
|
||||
|
||||
test-integration: test-connection
|
||||
test-integration: test-connection build/default/binding.node
|
||||
@echo "***Testing Pure Javascript***"
|
||||
@find test/integration -name "*-tests.js" | $(node-command)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user