From 5bed27a62f2e45f4f320692801418b5417f6bd24 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 24 Jan 2022 12:40:22 +0300 Subject: [PATCH] [#1102] Makefile: use `go install` instead of `go get` Remove warning and prevent `go.mod` updates when building `protoc` target. Signed-off-by: Evgenii Stratonikov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 83dcbcd35..6d99313f7 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ dep: protoc: @GOPRIVATE=github.com/nspcc-dev go mod vendor # Install specific version for protobuf lib - @go list -f '{{.Path}}/...@{{.Version}}' -m github.com/golang/protobuf | xargs go get -v + @go list -f '{{.Path}}/...@{{.Version}}' -m github.com/golang/protobuf | xargs go install -v # Protoc generate @for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \ echo "⇒ Processing $$f "; \