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 => 'Matt S Trout <mst@shadowcat.co.uk>',
25 ABSTRACT_FROM => $args{VERSION_FROM},
30 sub manifest_include {
34 while (my ($dir, $spec) = splice(@files, 0, 2)) {
35 my $re = ($dir ? $dir.'/' : '').
36 ((ref($spec) eq 'Regexp')
40 : die "spec must be string or regexp, was: ${spec} (${\ref $spec})");
43 my $final = '^(?!'.join('|', map "${_}\$", @parts).')';
44 open my $skip, '>', 'MANIFEST.SKIP';
45 print $skip "${final}\n";
56 '' => qr{Changes|MANIFEST|README|META\.yml},
57 'maint' => qr{[^.].*},