generator-egress
Version:
An egress-bootstrap generator for Yeoman
74 lines (51 loc) • 1.91 kB
Plain Text
SHELL := /bin/sh
connectionString=postgres://
params := $(connectionString)
node-command := xargs -n 1 -I file node file $(params)
.PHONY : test test-connection test-integration bench test-native \
build/default/binding.node jshint upgrade-pg publish
all:
npm install
build:
node-gyp rebuild
help:
test: test-unit
test-all: jshint test-unit test-integration test-native test-binary
test-travis: test-all upgrade-pg
#@make test-all connectionString=postgres://postgres@localhost:5433/postgres
upgrade-pg:
#@chmod 755 script/travis-pg-9.2-install.sh
#@./script/travis-pg-9.2-install.sh
bench:
build/default/binding.node:
test-unit:
test-connection:
test-connection-binary:
test-native: build/default/binding.node
test-integration: test-connection build/default/binding.node
test-binary: test-connection-binary
prepare-test-db:
jshint:
publish: