Add dependencies update target to Makefile

This commit is contained in:
Ciprian Hacman 2022-06-18 10:27:07 +03:00
parent 66d63929fd
commit 77d874fb56
1 changed files with 6 additions and 0 deletions

View File

@ -308,6 +308,12 @@ gomod:
cd tests/e2e; go mod tidy
cd hack; go mod tidy
.PHONY: goget
goget:
go get $(shell go list -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' -mod=mod -m all)
.PHONY: depup
depup: goget gomod
.PHONY: gofmt
gofmt: