Makefile: use `go install` instead of `go get`
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>remotes/KirillovDenis/master
parent
a33394cee4
commit
133cd011f0
2
Makefile
2
Makefile
|
@ -41,7 +41,7 @@ imports:
|
|||
protoc:
|
||||
@GOPRIVATE=github.com/nspcc-dev go mod vendor
|
||||
# Install specific version for protobuf lib
|
||||
@go list -f '{{.Path}}/...@{{.Version}}' -m google.golang.org/protobuf | xargs go get -v
|
||||
@go list -f '{{.Path}}/...@{{.Version}}' -m google.golang.org/protobuf | xargs go install -v
|
||||
# Protoc generate
|
||||
@for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \
|
||||
echo "⇒ Processing $$f "; \
|
||||
|
|
Loading…
Reference in New Issue