summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-03-16 17:42:06 -0400
committerNed Batchelder <ned@nedbatchelder.com>2023-03-16 17:43:06 -0400
commit402858f0e57a095e890ea34a0170caff321d4a04 (patch)
tree7f350f323557210be6c6a870dfd96e72ce6a098d /Makefile
parent02b759919323a5e6c664a9a3ef3468234997f5a9 (diff)
downloadpython-coveragepy-git-402858f0e57a095e890ea34a0170caff321d4a04.tar.gz
build: more convenient cheats
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce3772c8..bcca29ea 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,7 @@ clean: clean_platform ## Remove artifacts of test execution, installation, etc
sterile: clean ## Remove all non-controlled content, even if expensive.
rm -rf .tox
+ rm -f cheats.txt
help: ## Show this help.
@# Adapted from https://www.thapaliya.com/en/writings/well-documented-makefiles/
@@ -158,6 +159,9 @@ REPO_OWNER = nedbat/coveragepy
edit_for_release: ## Edit sources to insert release facts.
python igor.py edit_for_release
+cheats: ## Create some useful snippets for releasing.
+ python igor.py cheats | tee cheats.txt
+
relbranch: ## Create the branch for releasing.
echo git switch -c nedbat/release-$$(date +%Y%m%d)