Skip to content

Commit e3e7d34

Browse files
Perdugitster
authored andcommitted
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 <[email protected]> Signed-off-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b5cda5b commit e3e7d34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/mw-to-git/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ all: build
1515
build install clean:
1616
$(MAKE) -C $(GIT_ROOT_DIR) SCRIPT_PERL=$(SCRIPT_PERL_FULL) \
1717
$@-perl-script
18+
perlcritic:
19+
perlcritic -2 *.perl

0 commit comments

Comments
 (0)