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

16 lines
477 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 test ./...)
else
echo "skip services/core: go not found"
fi
if command -v flutter >/dev/null 2>&1 && [ -f "$ROOT_DIR/apps/client/pubspec.yaml" ] && [ -d "$ROOT_DIR/apps/client/test" ]; then
(cd "$ROOT_DIR/apps/client" && flutter test)
else
echo "skip apps/client: flutter not found or no test scaffold"
fi