Forest_Client/Tool/Luban/windows_client_export.bat

21 lines
1.0 KiB
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

REM GEN_CLIENT等号后面填Luban.ClientServer.exe所在路径eg:set GEN_CLIENT=D:\Luban.ClientServer\Luban.ClientServer.exe
REM CONFIG等号后面填需要生成的excel所在文件夹路径,eg:D:\Datas
REM WORKSPACE后面填工程文件夹位置,eg:D:\work\luofang_LAPTOP-E656ULVR_ProjectA_main\ProjectNLD
set WORKSPACE=..\..
::请在input_Dir后面填需要生成的数据文件夹eg:%WORKSPACE%\ProjectNLD\Assets\ThirdParty\Luban\LubanTemplate\Config\Datas
::请在Group后填上需要生成的GROUPclient,server ,cehua
set GEN_CLIENT=%WORKSPACE%\Tool\Luban\Luban.ClientServer\Luban.ClientServer.exe
set INPUT_DIR=%WORKSPACE%\Tool\Luban\Datas
set GROUP=client
%GEN_CLIENT% -j cfg -w %INPUT_DIR%,%WORKSPACE%\Tool\Luban\Defines --^
-d %WORKSPACE%\Tool\Luban\Defines\__root__.xml ^
--input_data_dir %INPUT_DIR%^
--output_code_dir %WORKSPACE%\Forest\Assets\Scripts\Gameplay\DataTable ^
--output_data_dir %WORKSPACE%\Forest\Assets\Config\Data ^
--gen_types code_cs_unity_json,data_json ^
-s %GROUP%
pause