|
|
@ -19,6 +19,7 @@ npm install >/dev/null 2>&1
|
|
|
|
npm run build:prod
|
|
|
|
npm run build:prod
|
|
|
|
|
|
|
|
|
|
|
|
echo "publish web to springboot src/main/resources/static"
|
|
|
|
echo "publish web to springboot src/main/resources/static"
|
|
|
|
|
|
|
|
rm -rf $BuildDir/report-core/src/main/resources/db/migration
|
|
|
|
rm -rf $BuildDir/report-core/src/main/resources/static
|
|
|
|
rm -rf $BuildDir/report-core/src/main/resources/static
|
|
|
|
mkdir -p $BuildDir/report-core/src/main/resources/static
|
|
|
|
mkdir -p $BuildDir/report-core/src/main/resources/static
|
|
|
|
mv $BuildDir/report-ui/dist/* $BuildDir/report-core/src/main/resources/static/
|
|
|
|
mv $BuildDir/report-ui/dist/* $BuildDir/report-core/src/main/resources/static/
|
|
|
|