Update build.sh

木子李·De 3 years ago
parent 41f2e3a988
commit b4a53a5b63

@ -17,9 +17,12 @@ mvn clean >/dev/null 2>&1
mvn package -Dmaven.test.skip=true >/dev/null 2>&1 mvn package -Dmaven.test.skip=true >/dev/null 2>&1
echo "zip finish in build dir" echo "zip finish in build dir"
mkdir $BuildDir/build if [ ! -d "$BuildDir/build" ]; then
mkdir $BuildDir/build
fi
mv $BuildDir/report-core/target/report-core-1.0.0-SNAPSHOT-assembly.zip $BuildDir/build/ mv $BuildDir/report-core/target/report-core-1.0.0-SNAPSHOT-assembly.zip $BuildDir/build/
cd $BuildDir/ cd $BuildDir/
rm -rf $BuildDir/report-core/src/main/resources/static rm -rf $BuildDir/report-core/src/main/resources/static
git reset --hard >/dev/null 2>&1 git reset --hard >/dev/null 2>&1
Loading…
Cancel
Save