Skip to content

Commit

Permalink
Add a check to Perl::Critic::Bangs version for cagecritic target
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/branches/immutable_strings_part1@45762 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
petdance committed Apr 17, 2010
1 parent c3fc1d0 commit 639af5e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions config/gen/makefiles/root.in
Expand Up @@ -2575,11 +2575,11 @@ tags.emacs.dummy:
tags-vi: tags.vi.dummy
$(RM_F) tags
@ctags@ \
--links=no --totals \
-R --exclude=blib --exclude=.svn \
--languages=c,perl --langmap=c:+.h,c:+.pmc,c:+.ops \
-I NOTNULL,NULLOK,ARGIN,ARGMOD,ARGOUT,ARGINOUT,ARGIN_NULLOK,ARGOUT_NULLOK,ARGMOD_NULLOK,ARGFREE,ARGFREE_NOTNULL \
.
--links=no --totals \
-R --exclude=blib --exclude=.svn \
--languages=c,perl --langmap=c:+.h,c:+.pmc,c:+.ops \
-I NOTNULL,NULLOK,ARGIN,ARGMOD,ARGOUT,ARGINOUT,ARGIN_NULLOK,ARGOUT_NULLOK,ARGMOD_NULLOK,ARGFREE,ARGFREE_NOTNULL \
.
$(PERL) $(BUILD_TOOLS_DIR)/addopstags.pl $(OPS_FILES)

tags.vi.dummy:
Expand All @@ -2591,6 +2591,7 @@ perlcritic:

# Andy's extra-cranky Perl::Critic checking for cage cleaners
cagecritic:
@perl -MPerl::Critic::Bangs -e'$$min=q{1.04};die qq{You need Bangs $$min} unless $$Perl::Critic::Bangs::VERSION ge $$min'
perlcritic -1 --profile tools/util/perlcritic-cage.conf $(CRITIC_FILES)

# This target will eventually create all the headers automatically. If you
Expand Down

0 comments on commit 639af5e

Please sign in to comment.