aboutsummaryrefslogtreecommitdiff
path: root/contrib/mw-to-git
diff options
context:
space:
mode:
authorCélestin Matte <celestin.matte@ensimag.fr>2013-06-14 15:50:38 +0200
committerJunio C Hamano <gitster@pobox.com>2013-06-14 09:02:18 -0700
commite3e7d34513a8802ab936bf9047f142c9aa1a6e5a (patch)
tree78f72a17adfb2eda3fdcd97c4a487a766f25f43e /contrib/mw-to-git
parentb5cda5b3132a56e87caad5d8a541f09733f1ed33 (diff)
downloadgit-e3e7d34513a8802ab936bf9047f142c9aa1a6e5a.tar.gz
git-e3e7d34513a8802ab936bf9047f142c9aa1a6e5a.tar.xz
git-remote-mediawiki: add a perlcritic rule in Makefile
Option "-2" launches perlcritic with level 2. Levels go from 5 (most pertinent) to 1. Rules of level 1 are mostly a question of style, and are therefore ignored. Signed-off-by: Célestin Matte <celestin.matte@ensimag.fr> Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/mw-to-git')
-rw-r--r--contrib/mw-to-git/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/mw-to-git/Makefile b/contrib/mw-to-git/Makefile
index f14971987..1fb242448 100644
--- a/contrib/mw-to-git/Makefile
+++ b/contrib/mw-to-git/Makefile
@@ -15,3 +15,5 @@ all: build
build install clean:
$(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL=$(SCRIPT_PERL_FULL) \
$@-perl-script
+perlcritic:
+ perlcritic -2 *.perl