Shuffle/scripts/check-setup.sh
cschlaefke 4b2c7fe542 chore(scripts): drop OUTLINE_URL from setup check
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 19:16:17 +01:00

21 lines
No EOL
807 B
Bash
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
# Prüft, ob alle Werkzeuge für die Shuffle-Entwicklung installiert sind.
ok() { printf " \033[32m✔\033[0m %s\n" "$1"; }
fail() { printf " \033[31m✘\033[0m %s – %s\n" "$1" "$2"; MISSING=1; }
MISSING=0
echo "Werkzeuge:"
for t in git flutter dart node npx jq docker supabase claude forgejo-mcp; do
if command -v "$t" >/dev/null 2>&1; then ok "$t"; else fail "$t" "nicht gefunden"; fi
done
echo "Umgebungsvariablen:"
for v in FORGEJO_URL FORGEJO_ACCESS_TOKEN; do
if [ -n "${!v:-}" ]; then ok "$v"; else fail "$v" "nicht gesetzt"; fi
done
if command -v flutter >/dev/null 2>&1; then
echo "Flutter-Doctor (Kurzfassung):"; flutter doctor 2>/dev/null | sed 's/^/ /'
fi
[ "$MISSING" = 0 ] && echo "Alles bereit." || echo "Bitte fehlende Punkte ergänzen (siehe Anleitung)."