mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
Clean up pg-native in Makefile better
This commit is contained in:
parent
7152d4db5d
commit
f2062936b9
@ -35,19 +35,14 @@ test-connection:
|
||||
|
||||
test-missing-native:
|
||||
@echo "***Testing optional native install***"
|
||||
@rm -rf node_modules/pg-native
|
||||
@rm -rf node_modules/libpq
|
||||
@node test/native/missing-native.js
|
||||
@rm -rf node_modules/pg-native
|
||||
@rm -rf node_modules/libpq
|
||||
|
||||
node_modules/pg-native/index.js:
|
||||
@npm i --no-save pg-native
|
||||
|
||||
test-native: node_modules/pg-native/index.js test-connection
|
||||
test-native: test-connection
|
||||
@echo "***Testing native bindings***"
|
||||
@npm i --no-save pg-native
|
||||
@find test/native -name "*-tests.js" | $(node-command)
|
||||
@find test/integration -name "*-tests.js" | $(node-command) native
|
||||
@npm uninstall pg-native
|
||||
|
||||
test-integration: test-connection
|
||||
@echo "***Testing Pure Javascript***"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user