2 use warnings FATAL => 'all';
4 my $POSTAMBLE = q{bump:
7 maint/bump-version minor
9 maint/bump-version major
16 no warnings 'once'; push @ExtUtils::MakeMaker::Overridable, 'find_tests';
20 shift->SUPER::find_tests.' xt/*.t';
23 sub postamble { $POSTAMBLE }
27 no warnings 'redefine';
30 ExtUtils::MakeMaker::WriteMakefile(
32 AUTHOR => 'Ken Williams <kwilliams@cpan.org>, Randy W. Sims <RandyS@ThePierianSpring.org>',
33 ABSTRACT_FROM => $args{VERSION_FROM},
38 sub manifest_include {
42 while (my ($dir, $spec) = splice(@files, 0, 2)) {
43 my $re = ($dir ? $dir.'/' : '').
44 ((ref($spec) eq 'Regexp')
48 : die "spec must be string or regexp, was: ${spec} (${\ref $spec})");
51 my $final = '^(?!'.join('|', map "${_}\$", @parts).')';
52 open my $skip, '>', 'MANIFEST.SKIP';
53 print $skip "${final}\n";
64 '' => qr{Changes|MANIFEST|README|META\.yml}