chore(j0.2): outillage qualite (lint strict, check.sh, mocktail)
- analysis_options.yaml durci (strict-casts/inference/raw-types + regles) - tool/check.sh : format + analyze + test, garde-fou PATH - mocktail en dev_dependencies - README : contrat "check.sh avant de cocher une etape" - ROADMAP : 0.2 cochee Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# CI locale Storytime — à passer avant de cocher une étape dans ROADMAP.md.
|
||||
# Échoue (exit non nul) dès qu'une vérification ne passe pas.
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
command -v flutter >/dev/null 2>&1 || { echo "flutter absent du PATH"; exit 1; }
|
||||
command -v dart >/dev/null 2>&1 || { echo "dart absent du PATH"; exit 1; }
|
||||
|
||||
echo "==> dart format"
|
||||
dart format --set-exit-if-changed .
|
||||
|
||||
echo "==> flutter analyze"
|
||||
flutter analyze
|
||||
|
||||
echo "==> flutter test"
|
||||
flutter test
|
||||
|
||||
echo ""
|
||||
echo "Tout est vert."
|
||||
Reference in New Issue
Block a user