2 use warnings FATAL => 'all';
8 no warnings 'once'; push @ExtUtils::MakeMaker::Overridable, 'find_tests';
12 shift->SUPER::find_tests.' xt/*.t';
15 sub postamble { 'include maint/Makefile.include' }
19 no warnings 'redefine';
22 ExtUtils::MakeMaker::WriteMakefile(
24 AUTHOR => 'Ken Williams <kwilliams@cpan.org>, Randy W. Sims <RandyS@ThePierianSpring.org>',
25 ABSTRACT_FROM => $args{VERSION_FROM},
31 sub manifest_include {
35 while (my ($dir, $spec) = splice(@files, 0, 2)) {
36 my $re = ($dir ? $dir.'/' : '').
37 ((ref($spec) eq 'Regexp')
41 : die "spec must be string or regexp, was: ${spec} (${\ref $spec})");
44 my $final = '^(?!'.join('|', map "${_}\$", @parts).')';
45 open my $skip, '>', 'MANIFEST.SKIP';
46 print $skip "${final}\n";
57 '' => qr{Changes|MANIFEST|README|META\.yml},
58 'maint' => qr{[^.].*},