Skip to content

Commit

Permalink
refactored the protobuf toolchain to maybe work???
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Sep 24, 2024
1 parent d8cf2e6 commit 6f70b74
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions server/api/installBuf.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ echo "making sure that this script is run from $BASEDIR"
pushd "$BASEDIR" > /dev/null || exit

echo downloading...
go get github.com/bufbuild/buf/cmd/buf \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
google.golang.org/protobuf/cmd/protoc-gen-go \
google.golang.org/grpc/cmd/protoc-gen-go-grpc
go get github.com/bufbuild/buf/cmd/buf
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
go get google.golang.org/protobuf/cmd/protoc-gen-go
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc

echo installing...
go install \
github.com/bufbuild/buf/cmd/buf \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
google.golang.org/protobuf/cmd/protoc-gen-go \
google.golang.org/grpc/cmd/protoc-gen-go-grpc
GO111MODULE=on go install github.com/bufbuild/buf/cmd/buf
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
go install google.golang.org/protobuf/cmd/protoc-gen-go
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc


echo tidiing up
Expand Down

0 comments on commit 6f70b74

Please sign in to comment.