From 43a8cd196f4baa9924590ecf0303a50516dd1385 Mon Sep 17 00:00:00 2001 From: Brian Carlson Date: Mon, 3 Jun 2013 11:42:49 -0500 Subject: [PATCH] Remove prepublish script. Closes #363 --- Makefile | 6 +++++- package.json | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 145be5ba..cc0111b1 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ 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 + build/default/binding.node jshint upgrade-pg publish all: npm install @@ -64,3 +64,7 @@ prepare-test-db: jshint: @echo "***Starting jshint***" @./node_modules/.bin/jshint lib + +publish: + @rm -r build || (exit 0) + @npm publish diff --git a/package.json b/package.json index d78afbb6..ca448e29 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ }, "scripts": { "test": "make test-travis connectionString=pg://postgres@localhost:5432/postgres", - "prepublish": "rm -r build || (exit 0)", "install": "node-gyp rebuild || (exit 0)" }, "engines": {