#!/usr/bin/env bash
set -euo pipefail
exec > >(tee log/lint.log) 2>&1 

echo "🔍 Running rustfmt..."
cargo fmt --all -- --check

echo "✅ Lint completed successfully!"