Skip to content

Commit

Permalink
generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
anjor committed Oct 30, 2024
1 parent 3318911 commit 5d9a2c6
Show file tree
Hide file tree
Showing 4 changed files with 643 additions and 430 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,13 @@ gen-old-faithful-proto: install-protoc
--go-grpc_out=paths=source_relative:$$(pwd)/old-faithful-proto/old-faithful-grpc \
-I=$$(pwd)/old-faithful-proto/proto/ \
$$(pwd)/old-faithful-proto/proto/old-faithful.proto
gen-old-faithful-proto-system:
@mkdir -p $$(pwd)/old-faithful-proto/old-faithful-grpc
@echo "Generating golang protobuf for old-faithful..."
# the proto file is in old-faithful-proto/proto ; generate go code in old-faithful-proto/faithful-grpc
protoc \
--experimental_allow_proto3_optional \
--go_out=paths=source_relative:$$(pwd)/old-faithful-proto/old-faithful-grpc \
--go-grpc_out=paths=source_relative:$$(pwd)/old-faithful-proto/old-faithful-grpc \
-I=$$(pwd)/old-faithful-proto/proto/ \
$$(pwd)/old-faithful-proto/proto/old-faithful.proto
Loading

0 comments on commit 5d9a2c6

Please sign in to comment.