mkdir -p build
rm -rf build/*
git pull
mvn clean package
(cd src/main/vue && yarn && yarn build)
(cd src/main/jmrh && yarn && yarn build)
(cd src/main/data-center && yarn && yarn build)
(cd src/main/data-center-admin && yarn && yarn build)
cp -r target/jmrh-0.0.1-SNAPSHOT.jar build/
cp -r src/main/vue/dist build/admin
cp -r src/main/jmrh/dist build/pc
cp -r src/main/data-center/dist build/data_center
cp -r src/main/data-center-admin/dist build/data_center_admin
tar zcvf build.tar.gz build