2 Star 26 Fork 21

crudapi/crudapi-example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.sh 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
crudapi 提交于 2024-07-27 18:45 . QUASAR_PUBLIC_PATH
rm -rf dist
cd lib
./download.sh
cd ..
#export QUASAR_PUBLIC_PATH=mapapi
if [ -z "$QUASAR_PUBLIC_PATH" ]; then
echo "QUASAR_PUBLIC_PATH is empty, use crudapi"
rm -rf ../src/main/resources/static/crudapi
CRUDAPI_VERSION=1.6.2
tar -zxvf ./lib/crudapi-admin-web-$CRUDAPI_VERSION.tar.gz -C ./src/main/resources/static
else
echo "QUASAR_PUBLIC_PATH is not empty: $QUASAR_PUBLIC_PATH"
sed -i 's/crudapi/mapapi/g' ./src/main/resources/static/index.html
rm -rf ./src/main/resources/static/mapapi
cp -R ../crudapi-admin-web/dist/spa/mapapi ./src/main/resources/static
fi
mvn clean install
mkdir -p dist/crudapi
mkdir -p dist/crudapi/bin
mkdir -p dist/crudapi/oss/download
mkdir -p dist/crudapi/log
cp ./target/crudapi-example-1.6.2.jar ./dist/crudapi/bin/crudapi.jar
cp ./lib/WinSW-x64.exe ./dist/crudapi/bin/crudapi.exe
cp ./lib/crudapi.xml ./dist/crudapi/bin/crudapi.xml
cp ./lib/*.bat ./dist/crudapi/bin
cp ./src/main/resources/application-windows.properties ./dist/crudapi/bin/application.properties
cd dist
nowtime=`date +'%Y%m%d%H%M%S'`
tar -zcvf crudapi-${nowtime}.tar.gz crudapi
cd ..
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/crudapi/crudapi-example.git
git@gitee.com:crudapi/crudapi-example.git
crudapi
crudapi-example
crudapi-example
master

搜索帮助