Commit d188444d7108fdba58b602ada67ef6a205f6cc2d
1 parent
f1704d8f
Exists in
master
feat✨:配置管理
Showing
4 changed files
with
24 additions
and
1 deletions
Show diff stats
sh/pre/auto.sh
| @@ -13,13 +13,17 @@ if [ $? -ne 0 ];then | @@ -13,13 +13,17 @@ if [ $? -ne 0 ];then | ||
| 13 | exit 3 | 13 | exit 3 |
| 14 | fi | 14 | fi |
| 15 | 15 | ||
| 16 | +sh /sh/apigame/conf.sh | ||
| 17 | +if [ $? -ne 0 ];then | ||
| 18 | + exit 4 | ||
| 19 | +fi | ||
| 20 | + | ||
| 16 | binname=apigame | 21 | binname=apigame |
| 17 | sh /sh/apigame/build.sh ${binname} | 22 | sh /sh/apigame/build.sh ${binname} |
| 18 | if [ $? -ne 0 ];then | 23 | if [ $? -ne 0 ];then |
| 19 | exit 1 | 24 | exit 1 |
| 20 | fi | 25 | fi |
| 21 | 26 | ||
| 22 | - | ||
| 23 | sleep 1s | 27 | sleep 1s |
| 24 | sh /sh/apigame/apigame.sh ${1} | 28 | sh /sh/apigame/apigame.sh ${1} |
| 25 | if [ $? -ne 0 ];then | 29 | if [ $? -ne 0 ];then |
sh/prod/auto.sh