OvertakingLegend/Config/Tool/gen_code_bin.sh

16 lines
422 B
Bash

#!/bin/zsh
WORKSPACE='../..'
GEN_CLIENT='./Tools/Luban.ClientServer/Luban.ClientServer.dll'
CONF_ROOT='../Excel'
dotnet ${GEN_CLIENT} \
-j cfg \
-- \
--define_file ${CONF_ROOT}/ARoot/__root__.xml \
--input_data_dir ${CONF_ROOT} \
--output_code_dir ${WORKSPACE}/Assets/Luban/Config \
--output_data_dir ${WORKSPACE}/Assets/Luban/Resources \
--gen_types code_cs_unity_bin,data_bin \
--service client