Skip to content

Commit 220e6a7

Browse files
committed
build: tidy up the clean action
clean_platform was added in 7379c81 so we could remove platform-specific pyc files to run Linux tests. Those were removed in 76e8010, but it couldn't hurt to keep things organized this way.
1 parent 3ca4a70 commit 220e6a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111

1212
clean_platform:
1313
@rm -f *.so */*.so
14+
@rm -f *.pyd */*.pyd
1415
@rm -rf __pycache__ */__pycache__ */*/__pycache__ */*/*/__pycache__ */*/*/*/__pycache__ */*/*/*/*/__pycache__
1516
@rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc */*/*/*/*.pyc */*/*/*/*/*.pyc
1617
@rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo */*/*/*/*.pyo */*/*/*/*/*.pyo
18+
@rm -f *$$py.class */*$$py.class */*/*$$py.class */*/*/*$$py.class */*/*/*/*$$py.class */*/*/*/*/*$$py.class
1719

1820
clean: clean_platform ## Remove artifacts of test execution, installation, etc.
1921
@echo "Cleaning..."
2022
@-pip uninstall -yq coverage
21-
@rm -f *.pyd */*.pyd
2223
@chmod -R 777 build
2324
@rm -rf build coverage.egg-info dist htmlcov
2425
@rm -f *.bak */*.bak */*/*.bak */*/*/*.bak */*/*/*/*.bak */*/*/*/*/*.bak
25-
@rm -f *$$py.class */*$$py.class */*/*$$py.class */*/*/*$$py.class */*/*/*/*$$py.class */*/*/*/*/*$$py.class
2626
@rm -f coverage/*,cover
2727
@rm -f MANIFEST
2828
@rm -f .coverage .coverage.* coverage.xml coverage.json .metacov*

0 commit comments

Comments
 (0)