Skip to content

Commit

Permalink
✨ feat: add clean make command to clean all generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
adriamontoto committed Jul 27, 2024
1 parent 243bbce commit 26c4182
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,17 @@ coverage: # Get coverage report
coverage combine; \
coverage report; \
exit $$coverage_exit


.PHONY: clean
clean: # Remove all generated files
@rm -f `find . -type f -name '*.py[coi]'`
@rm -rf `find . -name __pycache__`
@rm -rf `find . -name .ruff_cache`
@rm -rf `find . -name .mypy_cache`
@rm -rf `find . -name index.txt`
@rm -rf `find . -name .pytest_cache`
@rm -f .coverage
@rm -f .coverage.*
@rm -rf coverage.xml
@rm -rf htmlcov

0 comments on commit 26c4182

Please sign in to comment.