mirror of
https://github.com/cheat/cheat.git
synced 2024-11-21 21:41:35 +01:00
feat(Makefile): add vendor-update
Add `vendor-update` target to `Makefile`, which updates all dependencies to their newest versions.
This commit is contained in:
parent
3f4d4bddb2
commit
08fb9e11a9
4
Makefile
4
Makefile
@ -136,6 +136,10 @@ man:
|
|||||||
vendor:
|
vendor:
|
||||||
$(GO) mod vendor && $(GO) mod tidy && $(GO) mod verify
|
$(GO) mod vendor && $(GO) mod tidy && $(GO) mod verify
|
||||||
|
|
||||||
|
## vendor-update: update vendored dependencies
|
||||||
|
vendor-update:
|
||||||
|
$(GO) get -t -u ./...
|
||||||
|
|
||||||
## fmt: run go fmt
|
## fmt: run go fmt
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
|
Loading…
Reference in New Issue
Block a user