2 use warnings FATAL => 'all';
4 my $POSTAMBLE = q{bump:
8 maint/bump-version minor
11 maint/bump-version major
13 upload: $(DISTVNAME).tar$(SUFFIX)
21 no warnings 'once'; push @ExtUtils::MakeMaker::Overridable, 'find_tests';
25 shift->SUPER::find_tests.' xt/*.t';
28 sub postamble { $POSTAMBLE }
32 no warnings 'redefine';
35 ExtUtils::MakeMaker::WriteMakefile(
37 AUTHOR => 'Ken Williams <kwilliams@cpan.org>, Randy W. Sims <RandyS@ThePierianSpring.org>',
38 ABSTRACT_FROM => $args{VERSION_FROM},
43 sub manifest_include {
47 while (my ($dir, $spec) = splice(@files, 0, 2)) {
48 my $re = ($dir ? $dir.'/' : '').
49 ((ref($spec) eq 'Regexp')
53 : die "spec must be string or regexp, was: ${spec} (${\ref $spec})");
56 my $final = '^(?!'.join('|', map "${_}\$", @parts).')';
57 open my $skip, '>', 'MANIFEST.SKIP';
58 print $skip "${final}\n";
69 '' => qr{Changes|MANIFEST|README|META\.yml},
70 'maint' => qr{[^.].*},