mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
core/proto: update protoc dependencies (#5218)
* core/proto: update protoc dependencies * cleanup * disable unimplemented forward compatibility check * fix mock * add generate make command * add .0
This commit is contained in:
parent
3483447c37
commit
0cfb1025db
28 changed files with 1427 additions and 1832 deletions
|
@ -50,6 +50,7 @@ exec "$_protoc_path/bin/protoc" \
|
|||
-I "$_protoc_3pp_path/googleapis" \
|
||||
--experimental_allow_proto3_optional \
|
||||
--plugin="protoc-gen-go=$_dir/protoc-gen-go" \
|
||||
--plugin="protoc-gen-go-grpc=$_dir/protoc-gen-go-grpc" \
|
||||
--plugin="protoc-gen-grpc-web=$_dir/protoc-gen-grpc-web" \
|
||||
--plugin="protoc-gen-validate=$_dir/protoc-gen-validate" \
|
||||
"$@"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
exec go run github.com/golang/protobuf/protoc-gen-go@v1.5.3 "$@"
|
||||
exec go run google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 "$@"
|
||||
|
|
3
scripts/protoc-gen-go-grpc
Executable file
3
scripts/protoc-gen-go-grpc
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
exec go run google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 "$@"
|
Loading…
Add table
Add a link
Reference in a new issue