[FA-5] FileService setup, build scripts tweaked to be easier to maintain

This commit is contained in:
gamer147
2025-11-22 22:36:44 -05:00
parent 1adbb955cf
commit 573a0f6e3f
19 changed files with 519 additions and 103 deletions

View File

@@ -14,10 +14,18 @@ SERVICES_DIR="$(cd "$ROOT/.." && pwd)"
###############################################
# Skip list (folder names, match exactly)
###############################################
SKIP_PROJECTS=(
"FictionArchive.Service.Shared"
"FictionArchive.Service.Legacy"
)
SKIP_FILE="$ROOT/gateway_skip.txt"
SKIP_PROJECTS=()
if [[ -f "$SKIP_FILE" ]]; then
# Read non-empty lines ignoring comments
while IFS= read -r line; do
[[ -z "$line" || "$line" =~ ^# ]] && continue
SKIP_PROJECTS+=("$line")
done < "$SKIP_FILE"
else
echo "WARNING: skip-projects.txt not found — no projects will be skipped."
fi
echo "----------------------------------------"
echo " Finding GraphQL services..."