proto: update docs (#6537)
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
co-authored by
Alexander Bezobchuk
parent
bcaf17c33c
commit
b671bff594
@@ -85,7 +85,8 @@ ifeq ($(UNAME_S),Darwin)
|
||||
PROTOC_ZIP ?= protoc-3.11.2-osx-x86_64.zip
|
||||
endif
|
||||
|
||||
proto-tools: proto-tools-stamp
|
||||
proto-tools: proto-tools-stamp protoc-gen-gocosmos buf
|
||||
|
||||
proto-tools-stamp:
|
||||
@echo "Installing protoc compiler..."
|
||||
@(cd /tmp; \
|
||||
@@ -94,12 +95,7 @@ proto-tools-stamp:
|
||||
unzip -o ${PROTOC_ZIP} -d $(PREFIX) 'include/*'; \
|
||||
rm -f ${PROTOC_ZIP})
|
||||
|
||||
@echo "Installing protoc-gen-buf-check-breaking..."
|
||||
@curl -sSL \
|
||||
"https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/protoc-gen-buf-check-breaking-${UNAME_S}-${UNAME_M}" \
|
||||
-o "${BIN}/protoc-gen-buf-check-breaking" && \
|
||||
chmod +x "${BIN}/protoc-gen-buf-check-breaking"
|
||||
|
||||
buf:
|
||||
@echo "Installing buf..."
|
||||
@curl -sSL \
|
||||
"https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/buf-${UNAME_S}-${UNAME_M}" \
|
||||
|
||||
Reference in New Issue
Block a user