forked from silverwind/updates
add 'make deps'
This commit is contained in:
parent
480312db03
commit
7380d9e08a
15
Makefile
15
Makefile
@ -1,33 +1,32 @@
|
||||
.PHONY: test
|
||||
test:
|
||||
npx eslint --color --quiet *.js
|
||||
node --trace-deprecation --throw-deprecation test.js
|
||||
|
||||
.PHONY: publish
|
||||
publish:
|
||||
git push -u --tags origin master
|
||||
npm publish
|
||||
|
||||
.PHONY: update
|
||||
update:
|
||||
node updates.js -u
|
||||
deps:
|
||||
rm -rf node_modules
|
||||
npm i
|
||||
|
||||
.PHONY: patch
|
||||
update:
|
||||
node updates.js -u
|
||||
$(MAKE) deps
|
||||
|
||||
patch:
|
||||
$(MAKE) test
|
||||
npx ver patch
|
||||
$(MAKE) publish
|
||||
|
||||
.PHONY: minor
|
||||
minor:
|
||||
$(MAKE) test
|
||||
npx ver minor
|
||||
$(MAKE) publish
|
||||
|
||||
.PHONY: major
|
||||
major:
|
||||
$(MAKE) test
|
||||
npx ver major
|
||||
$(MAKE) publish
|
||||
|
||||
.PHONY: test publish deps update patch minor major
|
||||
|
Loading…
Reference in New Issue
Block a user