File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ params := $(connectionString)
7
7
node-command := xargs -n 1 -I file node file $(params )
8
8
9
9
.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
11
11
12
12
all :
13
13
npm install
@@ -64,3 +64,7 @@ prepare-test-db:
64
64
jshint :
65
65
@echo " ***Starting jshint***"
66
66
@./node_modules/.bin/jshint lib
67
+
68
+ publish :
69
+ @rm -r build || (exit 0)
70
+ @npm publish
Original file line number Diff line number Diff line change 27
27
},
28
28
"scripts" : {
29
29
"test" : " make test-travis connectionString=pg://postgres@localhost:5432/postgres" ,
30
- "prepublish" : " rm -r build || (exit 0)" ,
31
30
"install" : " node-gyp rebuild || (exit 0)"
32
31
},
33
32
"engines" : {
You can’t perform that action at this time.
0 commit comments