[FA-5] FileService setup, build scripts tweaked to be easier to maintain
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user