Skip to content

Commit d4c9bec

Browse files
committed
Add scripts to makefile
1 parent bd31786 commit d4c9bec

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

Makefile

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
.PHONY: jshint test
2-
3-
jshint:
4-
./node_modules/.bin/jshint lib test
1+
.PHONY: jshint test publish-patch test
52

63
test:
74
npm test
5+
6+
patch: test
7+
npm version patch -m "Bump version"
8+
git push origin master --tags
9+
npm publish
10+
11+
minor: test
12+
npm version minor -m "Bump version"
13+
git push origin master --tags
14+
npm publish
15+
16+
jshint:
17+
./node_modules/.bin/jshint lib

0 commit comments

Comments
 (0)