From: Matt S Trout Date: Tue, 26 Jun 2012 18:58:41 +0000 (+0000) Subject: #moose, repository metadata X-Git-Tag: v0.091010~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMoo.git;a=commitdiff_plain;h=627063f747490fee83eb70650d7d0403e62ba68b #moose, repository metadata --- diff --git a/Changes b/Changes index 93452d5..7d4e08c 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,4 @@ + - document move to #moose and include repository metadata - no Moo and no Moo::Role - squelch used only once warnings for $Moo::HandleMoose::MOUSE - MooClass->meta diff --git a/Makefile.PL b/Makefile.PL index 5b62f6d..c9d1136 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -20,6 +20,12 @@ my %RUN_DEPS = ( 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, } ) ), diff --git a/lib/Moo.pm b/lib/Moo.pm index e80d863..1dd93ef 100644 --- a/lib/Moo.pm +++ b/lib/Moo.pm @@ -678,7 +678,7 @@ on your class. =head1 SUPPORT -IRC: #web-simple on irc.perl.org +IRC: #moose on irc.perl.org =head1 AUTHOR