Skip to content

Commit 43a8cd1

Browse files
committed
Remove prepublish script. Closes #363
1 parent 9dd0282 commit 43a8cd1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ params := $(connectionString)
77
node-command := xargs -n 1 -I file node file $(params)
88

99
.PHONY : test test-connection test-integration bench test-native \
10-
build/default/binding.node jshint upgrade-pg
10+
build/default/binding.node jshint upgrade-pg publish
1111

1212
all:
1313
npm install
@@ -64,3 +64,7 @@ prepare-test-db:
6464
jshint:
6565
@echo "***Starting jshint***"
6666
@./node_modules/.bin/jshint lib
67+
68+
publish:
69+
@rm -r build || (exit 0)
70+
@npm publish

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
},
2828
"scripts": {
2929
"test": "make test-travis connectionString=pg://postgres@localhost:5432/postgres",
30-
"prepublish": "rm -r build || (exit 0)",
3130
"install": "node-gyp rebuild || (exit 0)"
3231
},
3332
"engines": {

0 commit comments

Comments
 (0)