forked from TrueCloudLab/frostfs-api-go
[#176] Makefile: Use google-hosted repository of protobuf
GitHub-hosted version considered as deprecated Signed-off-by: Alex Vanin <alexey@nspcc.ru>support/v2.15
parent
db1ed76473
commit
371dd09bf5
2
Makefile
2
Makefile
|
@ -41,7 +41,7 @@ imports:
|
||||||
protoc:
|
protoc:
|
||||||
@GOPRIVATE=github.com/nspcc-dev go mod vendor
|
@GOPRIVATE=github.com/nspcc-dev go mod vendor
|
||||||
# Install specific version for protobuf lib
|
# 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
|
# Protoc generate
|
||||||
@for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \
|
@for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \
|
||||||
echo "⇒ Processing $$f "; \
|
echo "⇒ Processing $$f "; \
|
||||||
|
|
Loading…
Reference in New Issue