[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:
Bryan Boreham 2025-06-23 14:15:19 +01:00
parent 8ed37d3c09
commit 2a1093e9be
2 changed files with 2 additions and 2 deletions

View File

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

View File

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