summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-12-07 08:14:37 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-12-07 08:16:14 -0500
commit7e0e072f47c57371a5ac33c76da9dab32747d3ee (patch)
treea80b6f9f6e65e532f1683707ccf919ec37401a7b /Makefile
parent18681c4b4cc745e1b149f3b33ede36362c9296e8 (diff)
downloadpython-coveragepy-git-7e0e072f47c57371a5ac33c76da9dab32747d3ee.tar.gz
build: a target to summarize `make upgrade`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c4415e61..b439dd22 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,8 @@ upgrade: ## Update the *.pip files with the latest packages satisfying *.in
$(PIP_COMPILE) -o doc/requirements.pip doc/requirements.in
$(PIP_COMPILE) -o requirements/lint.pip doc/requirements.in requirements/dev.in
+diff_upgrade: ## Summarize the last `make upgrade`
+ @git diff -U0 | grep -v '^@' | grep == | sort -k1.2,1.99 -k1.1,1.1r -u
##@ Pre-builds for prepping the code