#!/bin/bash set -x #!/usr/bin/env python2.7 cd /mGame/AndroidPack/mgame_share #git fetch git reset --hard git clean -f -d git pull cd /mGame/AndroidPack/mgame_share/ExcelExport echo 'start call py' python ./excelTolua.py echo 'end call py' cd /mGame/AndroidPack/mgame_share/protocol echo 'start call py' python ./generate_proto_parser.py python ./export_lua.py echo 'end call py' cd /mGame/AndroidPack/mgame_cli/tools/jenkins_script python ./generate_components.py /mGame/AndroidPack/mgame_cli/mGame/Assets/Lua/3rd/entitas/ComponentDefinition /mGame/AndroidPack/mgame_cli/mGame/Assets/Lua/3rd/entitas/Generated