Skip to content

Instantly share code, notes, and snippets.

@clevinson
Created June 15, 2020 21:55
Show Gist options
  • Save clevinson/ee1668cc37d0dd46de2aff010067c6ac to your computer and use it in GitHub Desktop.
Save clevinson/ee1668cc37d0dd46de2aff010067c6ac to your computer and use it in GitHub Desktop.
@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" && \
+ -o "${BIN}/protoc-gen-buf-check-breaking" \
+ "https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/protoc-gen-buf-check-breaking-${UNAME_S}-${UNAME_M}" && \
chmod +x "${BIN}/protoc-gen-buf-check-breaking"
@echo "Installing buf..."
@curl -sSL \
- "https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/buf-${UNAME_S}-${UNAME_M}" \
- -o "${BIN}/buf" && \
+ -o "${BIN}/buf" \
+ "https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/buf-${UNAME_S}-${UNAME_M}" && \
chmod +x "${BIN}/buf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment