2 use warnings FATAL => 'all';
4 use ExtUtils::MakeMaker;
5 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
9 'Test::Fatal' => 0.003,
12 # have to do this since old EUMM dev releases miss the eval $VERSION line
13 my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 };
17 VERSION_FROM => 'lib/Role/Tiny.pm',
19 ($] >= 5.010 ? () : ('MRO::Compat' => 0)),
20 ($mymeta_works ? () : (%BUILD_DEPS)),
22 $mymeta_works ? (BUILD_REQUIRES => \%BUILD_DEPS) : (),