[svn:parrot] r45762 - branches/immutable_strings_part1/config/gen/makefiles

petdance at svn.parrot.org petdance at svn.parrot.org
Sat Apr 17 17:02:42 UTC 2010


Author: petdance
Date: Sat Apr 17 17:02:41 2010
New Revision: 45762
URL: https://trac.parrot.org/parrot/changeset/45762

Log:
Add a check to Perl::Critic::Bangs version for cagecritic target

Modified:
   branches/immutable_strings_part1/config/gen/makefiles/root.in

Modified: branches/immutable_strings_part1/config/gen/makefiles/root.in
==============================================================================
--- branches/immutable_strings_part1/config/gen/makefiles/root.in	Sat Apr 17 16:54:03 2010	(r45761)
+++ branches/immutable_strings_part1/config/gen/makefiles/root.in	Sat Apr 17 17:02:41 2010	(r45762)
@@ -2575,11 +2575,11 @@
 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:
@@ -2591,6 +2591,7 @@
 
 # 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


More information about the parrot-commits mailing list