client-sync.sh 666 B

1234567891011121314
  1. #!/bin/sh
  2. # 更新本地分支到最新
  3. # cd $GIT_ROOT/box/box-data/
  4. # git pull
  5. # 删除mj-creator旧的文件
  6. rm -rf $GIT_ROOT/box/box-u3d/from_excel/
  7. # 导出AllConfig.json
  8. python $GIT_ROOT/box/box-data/script/exceltolua/excel_to_json_one.py -s $GIT_ROOT/box/box-data -l excel,excel-box -o $GIT_ROOT/box/box-u3d/Assets/LuaFramework/Resources/json/from_excel -t c
  9. # 导出单个json
  10. python $GIT_ROOT/box/box-data/script/exceltolua/excel_to_json.py -s $GIT_ROOT/box/box-data/excel -o $GIT_ROOT/box/box-u3d/from_excel -t c
  11. python $GIT_ROOT/box/box-data/script/exceltolua/excel_to_json.py -s $GIT_ROOT/box/box-data/excel-box -o $GIT_ROOT/box/box-u3d/from_excel -t c