Merge develop into test - sync latest code
This commit is contained in:
31
scripts/rebuild-backend.bat
Normal file
31
scripts/rebuild-backend.bat
Normal file
@@ -0,0 +1,31 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
echo ============================================
|
||||
echo 重新编译部署 OpenHIS 后端
|
||||
echo ============================================
|
||||
echo.
|
||||
|
||||
cd /d D:\his\openhis-server-new
|
||||
|
||||
echo [1/3] 清理旧的编译文件...
|
||||
call mvn clean -q
|
||||
if errorlevel 1 (
|
||||
echo 清理失败!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [2/3] 编译打包(跳过测试)...
|
||||
call mvn package -DskipTests -q
|
||||
if errorlevel 1 (
|
||||
echo 编译失败!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [3/3] 编译完成!
|
||||
echo.
|
||||
echo ============================================
|
||||
echo 请手动重启后端服务
|
||||
echo ============================================
|
||||
pause
|
||||
Reference in New Issue
Block a user