15 lines
306 B
Batchfile
15 lines
306 B
Batchfile
@echo off
|
|
|
|
set _proto_src=proto_google
|
|
set _proto_cpp=lua_google
|
|
|
|
set p=%~dp0
|
|
|
|
for /R "%_proto_src%" %%i in (*) do (
|
|
if "%%~xi" == ".proto" (
|
|
protoc --plugin=protoc-gen-lua="plugin\protoc-gen-lua.bat" --proto_path=%p%\%_proto_src% --lua_out=%_proto_cpp% %%~fi
|
|
)
|
|
)
|
|
|
|
lua check_sensitive_words.lua
|
|
pause |