garbage-code-hunter 0.2.0

A humorous Rust code quality detector that roasts your garbage code
Documentation
#!/bin/bash
# pre-commit hook: Run make ci before every commit
# This ensures all code quality checks pass before commit

set -e

echo "🔍 Running pre-commit CI checks..."
echo "========================================="

# Find the repository root using git
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null)"

if [ -z "$REPO_ROOT" ]; then
    echo "❌ Not in a git repository"
    exit 1
fi

# Change to repository root
cd "$REPO_ROOT" || exit 1

# Run make ci
make ci

echo ""
echo "✅ Pre-commit checks passed!"