mirror of https://github.com/kubernetes/kops.git
Add dependencies update target to Makefile
This commit is contained in:
parent
66d63929fd
commit
77d874fb56
6
Makefile
6
Makefile
|
|
@ -308,6 +308,12 @@ gomod:
|
||||||
cd tests/e2e; go mod tidy
|
cd tests/e2e; go mod tidy
|
||||||
cd hack; 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
|
.PHONY: gofmt
|
||||||
gofmt:
|
gofmt:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue