[#176] Makefile: Use google-hosted repository of protobuf

GitHub-hosted version considered as deprecated

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-10-19 19:34:30 +03:00 committed by Alex Vanin
parent db1ed76473
commit 371dd09bf5

View file

@ -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 github.com/golang/protobuf | xargs go get -v
@go list -f '{{.Path}}/...@{{.Version}}' -m google.golang.org/protobuf | xargs go get -v
# Protoc generate
@for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \
echo "⇒ Processing $$f "; \