We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 150f921 + 6090117 commit 3bb9618Copy full SHA for 3bb9618
Makefile.common
@@ -150,6 +150,17 @@ else
150
$(GO) get $(GOOPTS) -t ./...
151
endif
152
153
+.PHONY: update-go-deps
154
+update-go-deps:
155
+ @echo ">> updating Go dependencies"
156
+ @for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \
157
+ $(GO) get $$m; \
158
+ done
159
+ GO111MODULE=$(GO111MODULE) $(GO) mod tidy
160
+ifneq (,$(wildcard vendor))
161
+ GO111MODULE=$(GO111MODULE) $(GO) mod vendor
162
+endif
163
+
164
.PHONY: common-test-short
165
common-test-short: $(GOTEST_DIR)
166
@echo ">> running short tests"
0 commit comments