platform-codebase/scripts/reports/all

52 lines
943 B
Text
Raw Permalink Normal View History

#!/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