Skip to content

Commit

Permalink
Add a perlcritic target to the makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Weeks <tene@allalone.org>
  • Loading branch information
petdance authored and tene committed Feb 25, 2009
1 parent f934f32 commit 9f3d289
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/Makefile.in
Expand Up @@ -177,6 +177,10 @@ testable : perl6$(EXE) Test.pir spectest_checkout spectest_update

xmas: perl6$(EXE)

CRITIC_FILES=Configure.pl t/harness build/ config/ tools/

perlcritic:
perlcritic -1 --profile tools/util/perlcritic.conf $(CRITIC_FILES)

## supporting targets for perl6
# the Perl 6 compiler
Expand Down Expand Up @@ -318,6 +322,9 @@ help:
@echo " spectest: Run the tests of the official test suite that are known to pass."
@echo " spectest_full: Run all tests of the official test suite"
@echo ""
@echo "Maintenance:"
@echo " perlcritic Run Perl::Critic on all the Perl 5 code."
@echo ""
@echo "Cleaning:"
@echo " clean: Basic cleaning up."
@echo " distclean: Removes also anything built, in theory."
Expand All @@ -327,4 +334,3 @@ help:
@echo "Misc:"
@echo " help: Print this help message."
@echo ""

0 comments on commit 9f3d289

Please sign in to comment.