bilibili-API-collect/grpc_api/comp_proto.bat

10 lines
192 B
Batchfile
Raw Normal View History

2021-01-03 15:41:20 +08:00
@ echo off
rem 递归编译proto
set lang="python"
set patch=%CD%
for /r %patch% %%a in (*.proto) do (
2021-02-05 18:32:00 +08:00
protoc -I %patch% --%lang%_out=. %%~fa
echo comp %%~fa
)
echo all done
pause >nul