Skip to content

Commit f0bd178

Browse files
authored
Improve Makefile to clean __pycache__ directory recursively (#611)
1 parent ae6bc9a commit f0bd178

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ lint:
4747
clean:
4848
find . -name "*.pyc" -exec rm -v {} \;
4949
find . -name "*~" -exec rm -v {} \;
50-
rm -rvf build dist MANIFEST *.egg-info __pycache__ .coverage .cache htmlcov coverage.xml
50+
find . -type d -name "__pycache__" -exec rm -rv {} +
51+
rm -rvf build dist MANIFEST *.egg-info .coverage .cache htmlcov coverage.xml
5152
rm -rvf $(TESTDIR)
5253
rm -rvf baseline
5354
rm -rvf result_images

0 commit comments

Comments
 (0)