gito/bin/lint
toki e2bc7aa8b6 feat(scaffold): 초기 프로젝트 골격을 구성한다
Gito를 platformless Git control plane으로 시작할 수 있도록 Go core, Flutter control surface, contracts, ops 규칙, 검증 헬퍼를 함께 구성한다.
2026-06-13 08:55:46 +09:00

17 lines
459 B
Bash
Executable file

#!/usr/bin/env sh
set -eu
ROOT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
if command -v go >/dev/null 2>&1; then
(cd "$ROOT_DIR/services/core" && go vet ./...)
else
echo "skip services/core: go not found"
fi
if command -v flutter >/dev/null 2>&1 && [ -f "$ROOT_DIR/apps/client/pubspec.yaml" ]; then
(cd "$ROOT_DIR/apps/client" && flutter analyze --no-fatal-infos)
else
echo "skip apps/client: flutter not found or app not generated"
fi