X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Makefile.PL;h=d7a94936e23e2976fba00d77a20c585a4641de31;hp=dc525a366227d8b2704c8dbc395d74fd27eef98c;hb=ae0e35ee6dd51e78c0ffc2457699beadc7eefab8;hpb=42da66a91b0a87ebb81d8552bcd0b05d3557c83e diff --git a/Makefile.PL b/Makefile.PL index dc525a3..d7a9493 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,7 +6,7 @@ name 'Catalyst-Runtime'; all_from 'lib/Catalyst/Runtime.pm'; requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00300'; -requires 'Moose' => '0.51'; +requires 'Moose' => '0.58'; requires 'Carp'; requires 'Class::Accessor::Fast'; requires 'Class::Data::Inheritable'; @@ -33,7 +33,12 @@ requires 'URI' => '1.35'; requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness requires 'MRO::Compat'; -tests 't/*.t t/aggregate/*.t'; +if ( ( exists $ENV{AGGREGATE_TESTS} && !$ENV{AGGREGATE_TESTS}) + || (!exists $ENV{AGGREGATE_TESTS} && !can_use('Test::Aggregate', '0.34_01'))) { + tests join q{ }, + grep { $_ ne 't/aggregate.t' } + map { glob } qw[t/*.t t/aggregate/*.t]; +} if (-e 'inc/.author') { build_requires 'Test::NoTabs';