Permalink
Browse files

If Moose is installed and used, explicitly add it as a prereq

  • Loading branch information...
1 parent 5d8fa4d commit c59bd0f22f2f937877107e270650a21a84b54fee @bingos bingos committed Nov 7, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 inc/MakeMaker.pm
View
@@ -16,6 +16,8 @@ $WriteMakefileArgs{PREREQ_PM} ||= {};
if (eval { require Moose }) {
# we have any version of Moose; good enough! -- rjbs, 2011-09-15
+ # This should fix a crufty edge-case with cpantesting -- bingos, 2011-11-07
+ $WriteMakefileArgs{PREREQ_PM}{Moose} = '0';
} else {
# No Moose? Well, we need *something* to test with, so we'll ask for the
# lighter-weight one, Mouse. -- rjbs, 2011-09-15

0 comments on commit c59bd0f

Please sign in to comment.