github_zeekling/build.sh

19 lines
335 B
Bash
Raw Normal View History

2020-07-26 13:58:44 +00:00
#!/usr/bin/env bash
rm -rf ./build
if [ ! -d "./build" ]
then
mkdir build
fi
mvn clean
mvn install -Dmaven.test.skip=true
cp -r ./target/github_zeekling-1.0.jar ./build/
cp -r ./start.sh ./build/
cp -r ./src/main/resources/blog.properties ./build/
cp -r ./src/main/resources/log4j.properties ./build/
cp -r ./target/lib ./build/