Add depup Makefile target

This commit is contained in:
Ciprian Hacman
2024-02-04 06:24:02 +02:00
parent d0e447d8e1
commit 58017fd35e

View File

@@ -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