优化bat脚本及shell脚本

This commit is contained in:
thinkgem
2018-04-17 20:55:22 +08:00
parent d9193835ef
commit f8562e1ccb
22 changed files with 91 additions and 50 deletions

20
web/bin/run-web.sh Normal file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
# /**
# * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
# *
# * Author: ThinkGem@163.com
# *
# */
echo ""
echo "[信息] 使用 Spring Boot Tomcat 运行 Web 工程。"
echo ""
cd ..
mvn clean package spring-boot:repackage -Dmaven.test.skip=true -U
cd target
unzip -n *.war -d web
cd web/WEB-INF
chmod +x *.sh
./startup.sh