Skip to content

Commit

Permalink
chore: install protoc in proto-to-mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenma committed Jun 24, 2024
1 parent 74697f1 commit 9c3cfa1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dev/tools/proto-to-mapper/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: generate-pb
generate-pb: install-protoc
generate-pb:
mkdir -p third_party
mkdir -p build
git clone https://github.com/googleapis/googleapis.git third_party/googleapis || (cd third_party/googleapis && git reset --hard origin/master && git pull)
Expand All @@ -14,7 +14,8 @@ generate-pb: install-protoc
-o build/googleapis.pb
go run . -apis ../../../apis/ --api-packages github.com/GoogleCloudPlatform/apis



install-protoc:
install-protoc-linux:
sudo apt install -y protobuf-compiler

install-protoc-mac:
sudo brew install protobuf

0 comments on commit 9c3cfa1

Please sign in to comment.