This commit is contained in:
CloseIn
2026-05-07 15:54:19 +08:00
commit ac5a30844e
18 changed files with 461 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
Write-Host "===== 开始构建 gmp-mock-service =====" -ForegroundColor Cyan
mvn clean package -DskipTests
if ($LASTEXITCODE -eq 0) {
Write-Host "===== 构建成功 =====" -ForegroundColor Green
$jarPath = "target\gmp-mock-service.jar"
if (Test-Path $jarPath) {
$size = [math]::Round((Get-Item $jarPath).Length / 1MB, 2)
Write-Host "JAR 文件: $jarPath ($size MB)" -ForegroundColor Green
}
} else {
Write-Host "===== 构建失败 =====" -ForegroundColor Red
exit 1
}