1 Star 0 Fork 159

shyaoht/fastcms

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.bat 803 Bytes
一键复制 编辑 原始数据 按行查看 历史
herowjun 提交于 2022-10-09 22:35 . 优化
@echo off
REM windows package
REM package
call mvn clean install -Dmaven.test.skip=true
REM del fastcms-dist
rmdir .dist /s /q
REM create fastcms-dist
mkdir .dist
mkdir .dist\config
mkdir .dist\plugins
mkdir .dist\upload
mkdir .dist\htmls
mkdir .dist\logs
REM copy main program
xcopy web\target\fastcms-web-*-exec.jar .dist /s /i
xcopy web\src\main\resources\application-prod.yml .dist\config /s
REM xcopy doc\sql\* .dist\config /s
REM copy htmls
xcopy templates\src\main\resources .dist\htmls /s /i
xcopy web\startup.cmd .dist /s
xcopy web\startup.sh .dist /s
xcopy web\shutdown.cmd .dist /s
xcopy web\shutdown.sh .dist /s
xcopy web\Dockerfile .dist /s
xcopy web\docker-build.sh .dist /s
xcopy web\docker-run.sh .dist /s
cd .dist
REM run main
rename fastcms-web-*-exec.jar fastcms-server.jar
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/shyaoht/fastcms.git
git@gitee.com:shyaoht/fastcms.git
shyaoht
fastcms
fastcms
master

搜索帮助