summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2020-02-06 22:40:27 +0100
committerGitHub <noreply@github.com>2020-02-06 23:40:27 +0200
commit730f026c6e4e189b1c90c020315deee1d7d40de3 (patch)
tree54f04e1c3df5af926072cbd53b42c2630b25d845
parent08c9160e71f189223785890279405457ea2e47a7 (diff)
downloadgitea-730f026c6e4e189b1c90c020315deee1d7d40de3.tar.gz
gitea-730f026c6e4e189b1c90c020315deee1d7d40de3.zip
make: improve make pr (#10165)
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 39afc0c007..41213d3860 100644
--- a/Makefile
+++ b/Makefile
@@ -563,9 +563,9 @@ generate-images:
rm -rf $(TMPDIR)/images
$(foreach file, $(shell find public/img -type f -name '*.png' ! -name 'loading.png'),zopflipng -m -y $(file) $(file);)
-.PHONY: pr
-pr:
- $(GO) run contrib/pr/checkout.go $(PR)
+.PHONY: pr\#%
+pr\#%:
+ $(GO) run contrib/pr/checkout.go $*
.PHONY: golangci-lint
golangci-lint: