feat: build sh
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
ProjectL=wfc
|
ProjectL=wfc
|
||||||
ProjectU=WFC
|
ProjectU=WFC
|
||||||
RelVersion=1.0.6
|
#RelVersion=1.0.6
|
||||||
RelDate=`date +%Y%m%d`
|
RelDate=`date +%Y%m%d`
|
||||||
GitRootDir=${HOME}/wfc.git
|
GitRootDir=${HOME}/wfc.git
|
||||||
BERootDir=${GitRootDir}/be.wfc
|
BERootDir=${GitRootDir}/be.wfc
|
||||||
@@ -12,7 +12,7 @@ BuildRootDir=${GitRootDir}/build.wfc
|
|||||||
WFCWorkDir=/opt/wfc
|
WFCWorkDir=/opt/wfc
|
||||||
BuildDockerDir=${BuildRootDir}/build/docker
|
BuildDockerDir=${BuildRootDir}/build/docker
|
||||||
ReleseDir=${BuildRootDir}/release
|
ReleseDir=${BuildRootDir}/release
|
||||||
TarFileName=${ProjectL}-${RelVersion}-${RelDate}.tar.gz
|
#TarFileName=${ProjectL}-${RelVersion}-${RelDate}.tar.gz
|
||||||
TmpDir=${BuildRootDir}/tmp
|
TmpDir=${BuildRootDir}/tmp
|
||||||
TmpEnvFile=${TmpDir}/.env.tmp
|
TmpEnvFile=${TmpDir}/.env.tmp
|
||||||
|
|
||||||
@@ -42,7 +42,8 @@ pre_build_deb(){
|
|||||||
build-extras(){
|
build-extras(){
|
||||||
cd ${BuildRootDir}
|
cd ${BuildRootDir}
|
||||||
git pull
|
git pull
|
||||||
source ${BuildRootDir}/bin/control.sh
|
source ${BuildRootDir}/bin/control.sh
|
||||||
|
TarFileName=${ProjectL}-${RelVersion}-${RelDate}.tar.gz
|
||||||
echo -n "Begin build extras file ... "
|
echo -n "Begin build extras file ... "
|
||||||
cd ${BuildRootDir}/bin
|
cd ${BuildRootDir}/bin
|
||||||
javac -source 8 -target 8 -bootclasspath /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar -extdirs "" -Xlint:-options printJarVer.java
|
javac -source 8 -target 8 -bootclasspath /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar -extdirs "" -Xlint:-options printJarVer.java
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Package=WFC
|
Package=WFC
|
||||||
RelVersion=1.0.7
|
RelVersion=1.0.7
|
||||||
Architecture=amd64
|
Architecture=amd64
|
||||||
Description=WANFi Control and Billing System
|
Description='WANFi Control and Billing System'
|
||||||
|
|||||||
Reference in New Issue
Block a user