Added scripts/reports/{all,types,build,lint} for systematic checks:
- types: Run tsc --noEmit on all features
- build: Run build on all features
- lint: Run lint on all features
- all: Run all three checks
Reports saved to .reports/ (gitignored)
Current status: 28/33 features have typecheck errors (pre-existing)
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
51 lines
943 B
Bash
Executable file
51 lines
943 B
Bash
Executable file
#!/bin/bash
|
|
# Run all checks (build, types, lint)
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(dirname "$0")"
|
|
exit_code=0
|
|
|
|
echo "=========================================="
|
|
echo " RUNNING ALL CHECKS"
|
|
echo "=========================================="
|
|
echo ""
|
|
|
|
# Run typecheck first (fastest)
|
|
if "$SCRIPT_DIR/types"; then
|
|
echo "✓ Typechecks passed"
|
|
else
|
|
echo "✗ Typechecks failed"
|
|
exit_code=1
|
|
fi
|
|
|
|
echo ""
|
|
|
|
# Run lint (medium speed)
|
|
if "$SCRIPT_DIR/lint"; then
|
|
echo "✓ Linting passed"
|
|
else
|
|
echo "✗ Linting failed"
|
|
exit_code=1
|
|
fi
|
|
|
|
echo ""
|
|
|
|
# Run builds (slowest)
|
|
if "$SCRIPT_DIR/build"; then
|
|
echo "✓ Builds passed"
|
|
else
|
|
echo "✗ Builds failed"
|
|
exit_code=1
|
|
fi
|
|
|
|
echo ""
|
|
echo "=========================================="
|
|
if [ $exit_code -eq 0 ]; then
|
|
echo " ALL CHECKS PASSED ✓"
|
|
else
|
|
echo " SOME CHECKS FAILED ✗"
|
|
echo " Check .reports/ for details"
|
|
fi
|
|
echo "=========================================="
|
|
|
|
exit $exit_code
|