diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-03-21 07:00:47 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-03-21 07:02:54 -0400 |
commit | 220e6a724ed49fde399ab6c9ecbdf72367ba36a8 (patch) | |
tree | b1bd372405ca2b85a64487e81e122729d2d635be /Makefile | |
parent | 3ca4a7047a17a651e4eed9ca053735192634ece1 (diff) | |
download | python-coveragepy-git-220e6a724ed49fde399ab6c9ecbdf72367ba36a8.tar.gz |
build: tidy up the clean action
clean_platform was added in 7379c811580cd27e8695763ed5eb15746b133275 so
we could remove platform-specific pyc files to run Linux tests. Those
were removed in 76e80108c11b042e6e929641fe3f38975f5765ba, but it
couldn't hurt to keep things organized this way.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,18 +11,18 @@ clean_platform: @rm -f *.so */*.so + @rm -f *.pyd */*.pyd @rm -rf __pycache__ */__pycache__ */*/__pycache__ */*/*/__pycache__ */*/*/*/__pycache__ */*/*/*/*/__pycache__ @rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc */*/*/*/*.pyc */*/*/*/*/*.pyc @rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo */*/*/*/*.pyo */*/*/*/*/*.pyo + @rm -f *$$py.class */*$$py.class */*/*$$py.class */*/*/*$$py.class */*/*/*/*$$py.class */*/*/*/*/*$$py.class clean: clean_platform ## Remove artifacts of test execution, installation, etc. @echo "Cleaning..." @-pip uninstall -yq coverage - @rm -f *.pyd */*.pyd @chmod -R 777 build @rm -rf build coverage.egg-info dist htmlcov @rm -f *.bak */*.bak */*/*.bak */*/*/*.bak */*/*/*/*.bak */*/*/*/*/*.bak - @rm -f *$$py.class */*$$py.class */*/*$$py.class */*/*/*$$py.class */*/*/*/*$$py.class */*/*/*/*/*$$py.class @rm -f coverage/*,cover @rm -f MANIFEST @rm -f .coverage .coverage.* coverage.xml coverage.json .metacov* |