Skip to content

Commit

Permalink
enhance: make sure protoc-gen-go v2 will be used to generate pb msg
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
weiliu1031 committed Jul 9, 2024
1 parent 5e04552 commit e3b74b0
Show file tree
Hide file tree
Showing 7 changed files with 18,504 additions and 10,162 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ build:

generate-proto: export protoc:=${PWD}/cmake-build/protobuf/protobuf-build/protoc
generate-proto: build
echo "Clean old version protoc-gen-go" && rm -f $(which protoc-gen-go)
@which protoc-gen-go 1>/dev/null || (echo "Installing protoc-gen-go" && go install google.golang.org/protobuf/cmd/[email protected])
@which protoc-gen-go-grpc 1>/dev/null || (echo "Installing protoc-gen-go-grpc" && go install google.golang.org/grpc/cmd/[email protected])
@(env bash $(PWD)/scripts/proto_gen_go.sh)
Expand Down
Loading

0 comments on commit e3b74b0

Please sign in to comment.