打包脚本调整.

This commit is contained in:
aoshiguchen
2023-03-15 12:22:13 +08:00
parent 7fd6fd5313
commit c70baad0f6
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,6 @@ export NVM_DIR="$HOME/.nvm"
#初始化文件夹
cd ..
rm -rf $adminDeployDir
if [ ! -d "$deployDir" ];then
mkdir $deployDir
fi
@@ -27,6 +26,7 @@ fi
if [ ! -d "$adminDeployDir" ];then
mkdir $adminDeployDir
fi
rm -rf $adminDeployDir
#切node版本
nvm use $nodeVersion
#进入admin项目目录
+1 -1
View File
@@ -11,13 +11,13 @@ clientDeployDir=$deployDir"/client"
#切到项目根目录
cd ..
#初始化文件夹
rm -rf $clientDeployDir
if [ ! -d "$deployDir" ];then
mkdir $deployDir
fi
if [ ! -d "$clientDeployDir" ];then
mkdir $clientDeployDir
fi
rm -rf $clientDeployDir/neutrino-proxy-client.jar
#客户端打包
mvn clean install -U -pl neutrino-proxy-client -am -Dmaven.test.skip=true
# 拷贝到deploy目录下
+2 -1
View File
@@ -11,13 +11,14 @@ serverDeployDir=$deployDir"/server"
#切到项目根目录
cd ..
#初始化文件夹
rm -rf $serverDeployDir
if [ ! -d "$deployDir" ];then
mkdir $deployDir
fi
if [ ! -d "$serverDeployDir" ];then
mkdir $serverDeployDir
fi
rm -rf $serverDeployDir/neutrino-proxy-server.jar
#客户端打包
mvn clean install -U -pl neutrino-proxy-server -am -Dmaven.test.skip=true
# 拷贝到deploy目录下