21 lines
1022 B
Batchfile
21 lines
1022 B
Batchfile
|
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后填上需要生成的GROUP:client,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%\WLGCZ\Assets\Scripts\Gameplay\DataTable ^
|
|||
|
--output_data_dir %WORKSPACE%\WLGCZ\Assets\Config\Data ^
|
|||
|
--gen_types code_cs_unity_json,data_json ^
|
|||
|
-s %GROUP%
|
|||
|
|
|||
|
pause
|