mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 06:07:11 +02:00
[BUILD] Don't specify -d for go get
It is deprecated; see https://golang.org/doc/go1.18#go-get Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
8ed37d3c09
commit
2a1093e9be
2
Makefile
2
Makefile
@ -189,6 +189,6 @@ update-all-go-deps:
|
|||||||
@$(MAKE) update-go-deps
|
@$(MAKE) update-go-deps
|
||||||
@echo ">> updating Go dependencies in ./documentation/examples/remote_storage/"
|
@echo ">> updating Go dependencies in ./documentation/examples/remote_storage/"
|
||||||
@cd ./documentation/examples/remote_storage/ && for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \
|
@cd ./documentation/examples/remote_storage/ && for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \
|
||||||
$(GO) get -d $$m; \
|
$(GO) get $$m; \
|
||||||
done
|
done
|
||||||
@cd ./documentation/examples/remote_storage/ && $(GO) mod tidy
|
@cd ./documentation/examples/remote_storage/ && $(GO) mod tidy
|
||||||
|
@ -139,7 +139,7 @@ common-deps:
|
|||||||
update-go-deps:
|
update-go-deps:
|
||||||
@echo ">> updating Go dependencies"
|
@echo ">> updating Go dependencies"
|
||||||
@for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \
|
@for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \
|
||||||
$(GO) get -d $$m; \
|
$(GO) get $$m; \
|
||||||
done
|
done
|
||||||
$(GO) mod tidy
|
$(GO) mod tidy
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user