Skip to content

Commit

Permalink
feat: upgrade protobuf to sdk v0.50 (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: Spoorthi Satheesha <[email protected]>
  • Loading branch information
johnletey and Spoorthi Satheesha authored Aug 20, 2024
1 parent 1751c3d commit 6c71c0c
Show file tree
Hide file tree
Showing 43 changed files with 44,776 additions and 416 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ lint:
### Protobuf ###
###############################################################################

BUF_VERSION=1.32
BUF_VERSION=1.37
BUILDER_VERSION=0.15.0

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

Expand All @@ -44,7 +45,7 @@ proto-format:
proto-gen:
@echo "🤖 Generating code from protobuf..."
@docker run --rm --volume "$(PWD)":/workspace --workdir /workspace \
aura-proto sh ./proto/generate.sh
ghcr.io/cosmos/proto-builder:$(BUILDER_VERSION) sh ./proto/generate.sh
@echo "✅ Completed code generation!"

proto-lint:
Expand All @@ -53,11 +54,6 @@ proto-lint:
bufbuild/buf:$(BUF_VERSION) lint
@echo "✅ Completed protobuf linting!"

proto-setup:
@echo "🤖 Setting up protobuf environment..."
@docker build --rm --tag aura-proto:latest --file proto/Dockerfile .
@echo "✅ Setup protobuf environment!"

###############################################################################
### Testing ###
###############################################################################
Expand Down
Loading

0 comments on commit 6c71c0c

Please sign in to comment.