优化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

View File

@@ -1,9 +1,14 @@
#!/bin/sh
# /**
# * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
# *
# * Author: ThinkGem@163.com
# *
# */
echo ""
echo "[信息] 使用 Spring Boot Tomcat 运行 Web 工程。"
echo ""
cd ..
MAVEN_OPTS="$MAVEN_OPTS -Xms256m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m"
exec mvn clean spring-boot:run -U
mvn clean spring-boot:run -U