diff --git a/Makefile b/Makefile index 298ba30a..373ccb92 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ .PHONY: all \ vet fmt version test e2e-test \ build-binaries build-container build-tar build \ - docker-builder build-in-docker push-container push-tar push clean + docker-builder build-in-docker push-container push-tar push clean depup all: build @@ -280,3 +280,9 @@ clean: rm -f node-problem-detector-*.tar.gz* rm -rf output/ rm -f coverage.out + +depup: + go get $(shell go list -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' -mod=mod -m all) + go mod tidy + go mod vendor + cd test; go mod tidy