proto: update docs (#6537)

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
Marko
2020-07-01 15:53:11 +02:00
committed by GitHub
co-authored by Alexander Bezobchuk
parent bcaf17c33c
commit b671bff594
2 changed files with 4 additions and 8 deletions
+3 -7
View File
@@ -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}" \