summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-03-21 06:51:51 -0400
committerNed Batchelder <ned@nedbatchelder.com>2023-03-21 06:51:51 -0400
commit3ca4a7047a17a651e4eed9ca053735192634ece1 (patch)
treee35cc6cca8ece5fd7d038c75cf7d107a604cd08a
parent5b39a88baf651628621510a60a3b8d6e4e183cab (diff)
downloadpython-coveragepy-git-3ca4a7047a17a651e4eed9ca053735192634ece1.tar.gz
build: make sure build can be deleted
If the virtualenv tests fail, they somehow leave behind build directories with 000 permissions.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bcca29ea..565f0ab6 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ 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