use warnings FATAL => 'all';
use ExtUtils::MakeMaker;
-(do 'Author.PL' or die $@) unless -f 'META.yml';
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
WriteMakefile(
NAME => 'Module::Metadata',
my $POSTAMBLE = q{bump:
maint/bump-version
+ rm Makefile
bumpminor:
maint/bump-version minor
+ rm Makefile
bumpmajor:
maint/bump-version major
+ rm Makefile
+upload: $(DISTVNAME).tar$(SUFFIX)
+ cpan-upload $<
};
{
'xt' => '.t',
'xt/lib' => '.pm',
'' => '.PL',
- '' => qr{Changes|MANIFEST|README|META\.yml}
+ '' => qr{Changes|MANIFEST|README|META\.yml},
+ 'maint' => qr{[^.].*},
);
1;