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
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
set -e
echo "===== 开始构建 gmp-mock-service ====="
mvn clean package -DskipTests
if [ $? -eq 0 ]; then
echo "===== 构建成功 ====="
JAR_PATH="target/gmp-mock-service.jar"
if [ -f "$JAR_PATH" ]; then
SIZE=$(du -h "$JAR_PATH" | cut -f1)
echo "JAR 文件: $JAR_PATH ($SIZE)"
fi
else
echo "===== 构建失败 ====="
exit 1
fi