feat: implement blog project with CI pipeline
This commit is contained in:
22
scripts/clean_cache.sh
Executable file
22
scripts/clean_cache.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "Cleaning Python cache files..."
|
||||
|
||||
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
|
||||
|
||||
find . -type f -name "*.pyc" -delete 2>/dev/null || true
|
||||
|
||||
find . -type f -name "*.pyo" -delete 2>/dev/null || true
|
||||
|
||||
rm -rf .pytest_cache/ 2>/dev/null || true
|
||||
|
||||
rm -rf .mypy_cache/ 2>/dev/null || true
|
||||
|
||||
rm -rf .ruff_cache/ 2>/dev/null || true
|
||||
|
||||
rm -f .coverage 2>/dev/null || true
|
||||
rm -rf htmlcov/ 2>/dev/null || true
|
||||
|
||||
echo "✓ Cache cleaned"
|
||||
Reference in New Issue
Block a user