From a99b658ba74f119adb91526cdb9fd56457dcb11c Mon Sep 17 00:00:00 2001 From: thinkgem Date: Wed, 18 May 2022 09:07:18 +0800 Subject: [PATCH] update script --- web-api/bin/init-data.sh | 6 ++++-- web-fast/bin/init-data.sh | 6 ++++-- web/bin/init-data.sh | 6 ++++-- web/pom.xml | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/web-api/bin/init-data.sh b/web-api/bin/init-data.sh index 896eb579..92467987 100644 --- a/web-api/bin/init-data.sh +++ b/web-api/bin/init-data.sh @@ -15,7 +15,8 @@ echo "[信息] 在 v4.2 版本以后,官方初始化数据库是比较安全 echo "" echo "[信息] 如果你是升级到 v4.2 以后的版本,无法排除你是否升级完整,为安全起见,建议先备份数据库后再操作。" echo "" -read -s -n1 -p "请按任意键继续 ... " +echo -n "请按任意键继续 ... " +read text cd .. @@ -23,7 +24,8 @@ mvn clean compile -Dmaven.test.skip=true -U echo "" echo "[信息] 依赖下载完成,下面开始初始化数据库。" echo "" -read -s -n1 -p "请按任意键继续 ... " +echo -n "请按任意键继续 ... " +read text MAVEN_OPTS="$MAVEN_OPTS -Xms512m -Xmx1024m" mvn test -Dmaven.test.skip=false -Dtest=com.jeesite.test.InitData diff --git a/web-fast/bin/init-data.sh b/web-fast/bin/init-data.sh index 896eb579..92467987 100644 --- a/web-fast/bin/init-data.sh +++ b/web-fast/bin/init-data.sh @@ -15,7 +15,8 @@ echo "[信息] 在 v4.2 版本以后,官方初始化数据库是比较安全 echo "" echo "[信息] 如果你是升级到 v4.2 以后的版本,无法排除你是否升级完整,为安全起见,建议先备份数据库后再操作。" echo "" -read -s -n1 -p "请按任意键继续 ... " +echo -n "请按任意键继续 ... " +read text cd .. @@ -23,7 +24,8 @@ mvn clean compile -Dmaven.test.skip=true -U echo "" echo "[信息] 依赖下载完成,下面开始初始化数据库。" echo "" -read -s -n1 -p "请按任意键继续 ... " +echo -n "请按任意键继续 ... " +read text MAVEN_OPTS="$MAVEN_OPTS -Xms512m -Xmx1024m" mvn test -Dmaven.test.skip=false -Dtest=com.jeesite.test.InitData diff --git a/web/bin/init-data.sh b/web/bin/init-data.sh index 896eb579..92467987 100644 --- a/web/bin/init-data.sh +++ b/web/bin/init-data.sh @@ -15,7 +15,8 @@ echo "[信息] 在 v4.2 版本以后,官方初始化数据库是比较安全 echo "" echo "[信息] 如果你是升级到 v4.2 以后的版本,无法排除你是否升级完整,为安全起见,建议先备份数据库后再操作。" echo "" -read -s -n1 -p "请按任意键继续 ... " +echo -n "请按任意键继续 ... " +read text cd .. @@ -23,7 +24,8 @@ mvn clean compile -Dmaven.test.skip=true -U echo "" echo "[信息] 依赖下载完成,下面开始初始化数据库。" echo "" -read -s -n1 -p "请按任意键继续 ... " +echo -n "请按任意键继续 ... " +read text MAVEN_OPTS="$MAVEN_OPTS -Xms512m -Xmx1024m" mvn test -Dmaven.test.skip=false -Dtest=com.jeesite.test.InitData diff --git a/web/pom.xml b/web/pom.xml index 15af2260..57d745c5 100644 --- a/web/pom.xml +++ b/web/pom.xml @@ -34,7 +34,7 @@ - + com.jeesite