AxibugEmuOnline/ProtobufCore/build_cs.bat

16 lines
426 B
Batchfile
Raw Permalink Normal View History

2024-06-28 17:43:55 +08:00
@echo off
set "PROTOC_EXE=%cd%\protoc.exe"
set "WORK_DIR=%cd%\proto"
set "CS_OUT_PATH=%cd%\out\CS"
echo "==>>buildStart"
for /f "delims=" %%i in ('dir /b proto "proto/*.proto"') do (
echo build file:%%%i
%PROTOC_EXE% --proto_path="%WORK_DIR%" --csharp_out="%CS_OUT_PATH%" "%WORK_DIR%\%%i"
)
echo "==>>build finish"
echo "==>>copy cs"
2024-07-09 17:22:09 +08:00
copy %cd%\out\CS\ ..\AxibugEmuOnline.Server\AxibugEmuOnline.Server\Protobuf
2024-06-28 17:43:55 +08:00
pause