chore: initial commit for asepharyana-hub-scraper

This commit is contained in:
asepharyana
2026-07-09 22:07:03 +07:00
commit 80c96eaa42
190 changed files with 28465 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# Pre-build hook to enforce best practices
set -e
echo "🔍 Running pre-build lint checks..."
# Format check
echo "📝 Checking code formatting..."
if ! cargo fmt -- --check; then
echo "❌ Code not formatted. Run: cargo fmt"
exit 1
fi
# Clippy check with denials
echo "🔧 Running clippy..."
cargo clippy --all-targets -- -D warnings
echo "✅ All lint checks passed!"