#!/usr/bin/env bash set -euo pipefail root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" if [ -f "$root/services/core/go.mod" ]; then if command -v go >/dev/null 2>&1; then (cd "$root/services/core" && go vet ./...) else echo "skip services/core: go not found" fi fi if [ -f "$root/apps/client/pubspec.yaml" ]; then if command -v flutter >/dev/null 2>&1; then (cd "$root/apps/client" && flutter analyze --no-fatal-infos) else echo "skip apps/client: flutter not found" fi fi