Add CI build
This commit is contained in:
8
scripts/go-gen.sh
Executable file
8
scripts/go-gen.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
for f in *.proto
|
||||
do
|
||||
name=$(basename $f .proto)
|
||||
mkdir -p ./go-grpc/$name
|
||||
protoc --experimental_allow_proto3_optional --go_out=./go-grpc/$name --go_opt=paths=source_relative --go-grpc_out=./go-grpc/$name --go-grpc_opt=paths=source_relative $f
|
||||
done
|
Reference in New Issue
Block a user