From 48208636eb4d9c7487893200ab43f411035b0a2b Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Thu, 24 Apr 2025 15:43:00 +0000 Subject: [PATCH] Enable setting up of protobuf compiler and generators Signed-off-by: Prabhjot Singh Sethi --- scripts/dev-setup-ubuntu.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/dev-setup-ubuntu.sh b/scripts/dev-setup-ubuntu.sh index a3bec78..39cfc49 100755 --- a/scripts/dev-setup-ubuntu.sh +++ b/scripts/dev-setup-ubuntu.sh @@ -19,4 +19,13 @@ echo "export PATH=\$PATH:/usr/local/go/bin:\$HOME/go/bin" >> ~/.bashrc source ~/.bashrc # install golang lint cli -go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.0.2 \ No newline at end of file +go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.0.2 + +# install protobuf compiler +sudo apt install -y protobuf-compiler + +# install protoc-gen-go +go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.6 + +#install protoc-gen-go-grpc +go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1