123456789101112131415161718192021222324252627282930 |
- ###
- # @Descripttion:
- # @version:
- # @Author: Neo,Huang
- # @Date: 2020-03-10 00:01:07
- # @LastEditors: Please set LastEditors
- # @LastEditTime: 2021-06-07 12:02:56
- ###
- #!/bin/sh
- # 清除原先导出配置
- abspath=$(cd "$(dirname "$0")";pwd)
- configPath=${abspath}/../box-config
- dataPath=${abspath}
- if [[ -n $1 ]]; then
- configPath=${configPath}-${1}
- fi
- echo ${configPath}
- cd ${configPath}
- rm *.lua
- cd ${dataPath}
- git pull
- cd ${configPath}
- git pull
- cd ${dataPath}/script/exceltolua/
- python excel_to_lua.py -t s -s ${dataPath}/excel -o ${configPath}
|