Skip to content

Commit

Permalink
fix(make): fix proto commands and buf version
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Jan 23, 2024
1 parent 617bd2f commit 02ce24b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ We also need some dependencies to make protobuf work for cosmos.
The `buf` tool.

- Linux:
- `curl -sSL https://github.com/bufbuild/buf/releases/download/v1.0.0-rc1/buf-Linux-x86_64 -o buf && chmod +x buf && sudo mv buf /usr/local/bin`
- `curl -sSL https://github.com/bufbuild/buf/releases/download/v1.28.1/buf-Linux-x86_64 -o buf && chmod +x buf && sudo mv buf /usr/local/bin`
- Macos:
- Using [brew](https://brew.sh/): `brew install bufbuild/buf/buf`
- Using [macports](https://www.macports.org/): `sudo port install buf`
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ lint:
### Protobuf ###
###############################################################################

proto-all: proto-gen proto-format proto-lint
proto-all: proto-gen proto-fmt proto-lint

proto-dep-install:
@go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@latest
Expand All @@ -171,7 +171,7 @@ proto-update-deps:
@echo "Updating Protobuf dependencies"
@buf mod update ./proto

.PHONY: proto-gen proto-lint proto-update-deps
.PHONY: proto-gen proto-fmt proto-lint proto-update-deps

###############################################################################
## Tests ##
Expand Down
4 changes: 2 additions & 2 deletions proto/buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: 28151c0d0a1641bf938a7672c500e01d
digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de
commit: a86849a25cc04f4dbe9b15ddddfbc488
digest: shake256:e19143328f8cbfe13fc226aeee5e63773ca494693a72740a7560664270039a380d94a1344234b88c7691311460df9a9b1c2982190d0a2612eae80368718e1943

0 comments on commit 02ce24b

Please sign in to comment.