fix: gen scripts
This commit is contained in:
parent
bd3165747c
commit
0845a71aba
@ -18,7 +18,7 @@ for %%A in (%*) do (
|
||||
set out=%gen%\go
|
||||
if not exist !out! mkdir !out!
|
||||
echo Generating Go code
|
||||
!exec! --go-grpc_out=!out! --govalidators_out=!out! %pbs%
|
||||
!exec! --go_out=!out! --go-grpc_out=!out! --govalidators_out=!out! %pbs%
|
||||
)
|
||||
if "%%A"=="gohttp" (
|
||||
set plugin=protoc-gen-grpc-gateway
|
||||
|
@ -46,7 +46,7 @@ do
|
||||
mkdir -p $out
|
||||
fi
|
||||
echo "Generating Go code"
|
||||
$exec --go-grpc_out=$out --govalidators_out=$out $pb_files $async_tag
|
||||
$exec --go_out=$out --go-grpc_out=$out --govalidators_out=$out $pb_files $async_tag
|
||||
fi
|
||||
if [ $aug == "gohttp" ]; then
|
||||
plugin=protoc-gen-grpc-gateway
|
||||
|
Loading…
Reference in New Issue
Block a user