mirror of
https://github.com/cheat/cheat.git
synced 2025-09-04 11:08:29 +02: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:
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:
|
||||||
|
Reference in New Issue
Block a user