X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=c9d1136e48f6017c654dfd4da33df174af88cbeb;hb=15f92982532b432e00e713fab64e82799e7837a0;hp=c6cc898f89935d1e912849da122555f16daf3166;hpb=8f7cf9cf2212433f235c97cbd402b0cc75754921;p=gitmo%2FMoo.git diff --git a/Makefile.PL b/Makefile.PL index c6cc898..c9d1136 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,13 +13,19 @@ my %RUN_DEPS = ( 'Class::Method::Modifiers' => 1.04, 'strictures' => 1.001001, 'Module::Runtime' => 0.012, - 'Role::Tiny' => 1.001001, + 'Role::Tiny' => 1.001003, ); # have to do this since old EUMM dev releases miss the eval $VERSION line my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 }; my $mymeta = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5702 }; +my %extra_info = ( + resources => { + repository => 'git://git.shadowcat.co.uk/gitmo/Moo.git' + } +); + WriteMakefile( NAME => 'Moo', VERSION_FROM => 'lib/Moo.pm', @@ -31,12 +37,13 @@ WriteMakefile( ($mymeta_works ? ( # BUILD_REQUIRES makes MYMETA right, requires stops META being wrong BUILD_REQUIRES => \%BUILD_DEPS, - META_ADD => { requires => \%RUN_DEPS } + META_ADD => { requires => \%RUN_DEPS, %extra_info } ) : ( # META_ADD both to get META right - only Makefile written META_ADD => { requires => \%RUN_DEPS, build_requires => \%BUILD_DEPS, + %extra_info, } ) ),