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>

Célestin Matte committed Jun 14, 2013 at 15:50 UTC e3e7d34513a8802ab936bf9047f142c9aa1a6e5a
1 file changed +2
contrib/mw-to-git/Makefile
+2
@@ -15,3 +15,5 @@ all: build
15 build install clean:
16 $(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL=$(SCRIPT_PERL_FULL) \
17 $@-perl-script
18 +perlcritic:
19 + perlcritic -2 *.perl