Skip to content

Commit 58017fd

Browse files
committed
Add depup Makefile target
1 parent d0e447d commit 58017fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
.PHONY: all \
1818
vet fmt version test e2e-test \
1919
build-binaries build-container build-tar build \
20-
docker-builder build-in-docker push-container push-tar push clean
20+
docker-builder build-in-docker push-container push-tar push clean depup
2121

2222
all: build
2323

@@ -280,3 +280,9 @@ clean:
280280
rm -f node-problem-detector-*.tar.gz*
281281
rm -rf output/
282282
rm -f coverage.out
283+
284+
depup:
285+
go get $(shell go list -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' -mod=mod -m all)
286+
go mod tidy
287+
go mod vendor
288+
cd test; go mod tidy

0 commit comments

Comments
 (0)