feat: license服务端
This commit is contained in:
@@ -8,6 +8,7 @@ BERootDir=${GitRootDir}/be.wfc
|
||||
FERootDir=${GitRootDir}/fe.wfc
|
||||
FEUserRootDir=${GitRootDir}/fe.wfc.user
|
||||
BuildRootDir=${GitRootDir}/build.wfc
|
||||
LicenseRootDir=${GitRootDir}/license.wfc
|
||||
|
||||
WFCWorkDir=/opt/wfc
|
||||
BuildDockerDir=${BuildRootDir}/build/docker
|
||||
@@ -82,6 +83,8 @@ pre-git-pull(){
|
||||
git pull
|
||||
cd ${BuildRootDir}
|
||||
git pull
|
||||
cd ${LicenseRootDir}
|
||||
git pull
|
||||
}
|
||||
|
||||
pre-build-deb(){
|
||||
@@ -111,6 +114,9 @@ build-jar(){
|
||||
cd ${BERootDir}
|
||||
# git pull
|
||||
mvn clean package -Dmaven.test.skip=true -P prod
|
||||
cd ${LicenseRootDir}
|
||||
# git pull
|
||||
mvn clean package -Dmaven.test.skip=true
|
||||
}
|
||||
|
||||
pre-build-src-tar(){
|
||||
@@ -123,6 +129,8 @@ pre-build-src-tar(){
|
||||
clean-jar(){
|
||||
cd ${BERootDir}
|
||||
mvn clean
|
||||
cd ${LicenseRootDir}
|
||||
mvn clean
|
||||
}
|
||||
|
||||
build-dist(){
|
||||
|
||||
@@ -5,6 +5,7 @@ BERootDir=${GitRootDir}/be.wfc
|
||||
FERootDir=${GitRootDir}/fe.wfc
|
||||
FEUserRootDir=${GitRootDir}/fe.wfc.user
|
||||
BuildRootDir=${GitRootDir}/build.wfc
|
||||
LicenseRootDir=${GitRootDir}/license.wfc
|
||||
I18nResourcesDir=${BERootDir}/wfc-common/wfc-common-core/src/main/resources
|
||||
|
||||
WFCWorkDir=/opt/wfc
|
||||
@@ -87,3 +88,7 @@ echo "done"
|
||||
echo -n "Begin copy wfc-modules-payment ... "
|
||||
cp -rf ${BERootDir}/wfc-modules/wfc-payment/target/wfc-modules-payment.jar ${BuildDockerDir}/wfc/modules/payment/jar
|
||||
echo "done"
|
||||
|
||||
echo -n "Begin copy wfc-license-server ... "
|
||||
cp -rf ${LicenseRootDir}/target/wfc-license-server-1.0.0.jar ${BuildDockerDir}/license-server/jar
|
||||
echo "done"
|
||||
|
||||
Reference in New Issue
Block a user