同步操作将从 belief-team/AJ-Report 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/bash#该脚本为私有化脚本,打包成内含网页的product-report-starter放在内网私服#判断node.js mvn是否存在command -v npm >/dev/null 2>&1 || { echo >&2 "I require node.js v14.16.0+ but it's not installed. Aborting."; sleep 5; exit 1; }command -v mvn >/dev/null 2>&1 || { echo >&2 "I require maven 3.5 + but it's not installed. Aborting."; sleep 5; exit 1; }cd `dirname 0ドル`BuildDir=`pwd` #工程根目录#重置pom和index.jscat $BuildDir/build/index.js > $BuildDir/report-ui/config/index.jscat $BuildDir/build/pom.xml > $BuildDir/report-core/pom.xmlecho "build web"cd $BuildDir/report-uirm -rf distnpm install >/dev/null 2>&1npm run build:prodecho "publish web to springboot src/main/resources/static"rm -rf $BuildDir/report-core/src/main/resources/db/migrationrm -rf $BuildDir/report-core/src/main/resources/staticmkdir -p $BuildDir/report-core/src/main/resources/staticmv $BuildDir/report-ui/dist/* $BuildDir/report-core/src/main/resources/static/echo "build springboot"cd $BuildDir/report-coremvn clean deploy -DskipTestsrm -rf $BuildDir/report-core/src/main/resources/staticgit reset --hard
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。