Shuffle/scripts/check-setup.sh
cschlaefke 317634dac5
Some checks are pending
CI / flutter (push) Waiting to run
CI / supabase (push) Waiting to run
CI / supabase-tests (push) Waiting to run
chore: initial project kit
2026-11-02 12:14:09 +01:00

21 lines
820 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 OUTLINE_URL; 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)."