项目编码缩短,github开源项目导入社区

This commit is contained in:
lxp
2026-10-15 16:48:30 +08:00
parent a1076d1098
commit 211f6c96f9
30 changed files with 2567 additions and 25 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
COMMUNITY_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
if [[ -f "$COMMUNITY_ROOT/.env" ]]; then
set -a
source "$COMMUNITY_ROOT/.env"
set +a
fi
cd "$COMMUNITY_ROOT"
mvn -q -pl community-import -am -DskipTests package
exec java -Djava.awt.headless=true -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8 -jar community-import/target/community-import-0.0.1-SNAPSHOT.jar "$@"