X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=1d26e927e5b4dc4cda6f175f5329de4ed5cbded8;hb=fd9de2d9f9a3fc6fec683c095667835310c5f270;hp=d1133115d728757504a367c91dcfb5d0cbd44de4;hpb=dc09e932e68f148d5f855dc13bad2394f8411b38;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/Makefile.PL b/Makefile.PL index d113311..1d26e92 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,24 +1,46 @@ +use strict; +use warnings; use inc::Module::Install 0.87; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; +use Module::Install::Authority; -if( -e 'MANIFEST.SKIP' ) { - system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ); +if ( $Module::Install::AUTHOR ) { + system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ) + and die; } perl_version '5.008001'; name 'Catalyst-Plugin-Authentication'; all_from 'lib/Catalyst/Plugin/Authentication.pm'; +authority 'BOBTFISH'; requires 'Catalyst::Runtime'; requires 'Class::Inspector'; requires 'MRO::Compat'; requires 'Catalyst::Plugin::Session' => '0.10'; +requires 'Moose'; +requires 'MooseX::Emulate::Class::Accessor::Fast'; +requires 'namespace::clean'; -test_requires 'Test::More'; + +test_requires 'Test::More' => '0.88'; test_requires 'Test::Exception'; -test_requires 'Test::MockObject'; +test_requires 'Class::MOP'; +test_requires 'Moose'; + +author_requires 'Test::Pod' => '1.14'; +author_requires 'Test::Pod::Coverage' => '1.04'; +author_requires 'Test::NoTabs'; +author_requires 'Test::WWW::Mechanize::Catalyst'; +author_requires 'Catalyst::Plugin::Session'; +author_requires 'Catalyst::Plugin::Session::State::Cookie'; +author_requires 'Digest::SHA1'; + +author_tests 't/author'; auto_install; -resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Plugin-Authentication/'; +resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git'; WriteAll;