add a cleanall command to the Makefile

This commit is contained in:
Andreas Zweili 2020-01-12 14:00:56 +01:00
parent 2b17424bfa
commit 365f9ffb7a
1 changed files with 8 additions and 0 deletions

View File

@ -16,8 +16,16 @@ local:
)
clean:
sudo find . \( -name __pycache__ -o -name "*.pyc" \) -delete
sudo rm -f */migrations/0*.py
sudo rm -rf htmlcov/
sudo rm -f .second_run
docker-compose down -v
cleanall:
rm -rf venv/
sudo find . \( -name __pycache__ -o -name "*.pyc" \) -delete
sudo rm */migrations/*.py
sudo rm -rf htmlcov/
sudo rm -f .second_run
docker-compose down -v --rmi local