X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FModule-Metadata.git;a=blobdiff_plain;f=Makefile.PL;h=1d090c80c58ff6ad100539f9cdd80f62d71cd0f4;hp=8717afd4ed4c0dfa24e10df2a01080f8d40a4d46;hb=HEAD;hpb=c3a1287831d94cdac8761970e2f314e4079698ce diff --git a/Makefile.PL b/Makefile.PL index 8717afd..1d090c8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,8 @@ use warnings FATAL => 'all'; use ExtUtils::MakeMaker; use 5.006; +# TODO: convert to dzil and use [OnlyCorePrereqs], and possibly [DualLife] + (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; WriteMakefile( @@ -15,7 +17,6 @@ WriteMakefile( 'Carp' => 0, 'File::Find' => 0, 'File::Spec' => 0, - 'IO::File' => 0, 'strict' => 0, 'warnings' => 0, 'vars' => 0, @@ -26,14 +27,14 @@ WriteMakefile( : () , }, + -f 'META.yml' ? () : ( META_MERGE => { 'meta-spec' => { version => 2 }, dynamic_config => 0, resources => { - # r/w: p5sagit@git.shadowcat.co.uk:Module-Metadata.git repository => { - url => 'git://git.shadowcat.co.uk/p5sagit/Module-Metadata.git', - web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git', + url => 'git@github.com:Perl-Toolchain-Gang/Module-Metadata.git', + web => 'https://github.com/Perl-Toolchain-Gang/Module-Metadata', type => 'git', }, bugtracker => { @@ -41,5 +42,23 @@ WriteMakefile( web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Metadata', }, }, - }, + prereqs => { + test => { + requires => { + 'Test::More' => 0, + 'Carp' => 0, + 'Config' => 0, + 'Cwd' => 0, + 'Data::Dumper' => 0, + 'Exporter' => 0, + 'File::Basename' => 0, + 'File::Find' => 0, + 'File::Path' => 0, + 'File::Spec' => 0, + 'File::Temp' => 0, + 'IO::File' => 0, + }, + }, + }, + } ), );