X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=ac74e0af928cfc3b35c73703286c7127ba236b0b;hb=8e642f7fb9467d34b307df4b412ce3dc756e2f73;hp=29dd6f8c54dae6c796b38bf6e8aada574e7e77af;hpb=1faaa3e99565660c7e3cd433e01c80343828f8a8;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index 29dd6f8..ac74e0a 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.57'; requires 'Carp'; requires 'Class::Accessor::Fast'; requires 'Class::Data::Inheritable'; @@ -33,6 +33,13 @@ requires 'URI' => '1.35'; requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness requires 'MRO::Compat'; +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'; build_requires 'Test::Pod' => 1.14;