From: Célestin Matte Date: Fri, 14 Jun 2013 13:50:38 +0000 (+0200) Subject: git-remote-mediawiki: add a perlcritic rule in Makefile X-Git-Tag: v1.8.4-rc0~147^2~1 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=e3e7d34513a8802ab936bf9047f142c9aa1a6e5a;p=git.git 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 Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- diff --git a/contrib/mw-to-git/Makefile b/contrib/mw-to-git/Makefile index f14971987c..1fb2424481 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