X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=9608ffc402c9ff3429fa5988f0974a199d48d244;hb=1d241ed75b32fcdb3957880b6ca50ef2db21f444;hp=3e88c0c2b01d7996767071823cb88378d514b4d5;hpb=948295dd2ce19d3a099ebd71708466edcc96908a;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/Makefile.PL b/Makefile.PL index 3e88c0c..9608ffc 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,19 +1,38 @@ -use inc::Module::Install 0.67; +use strict; +use warnings; +use inc::Module::Install 0.87; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; -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; + require Module::Install::AuthorTests; } +perl_version '5.008001'; + name 'Catalyst-Plugin-Authentication'; all_from 'lib/Catalyst/Plugin/Authentication.pm'; -perl_version '5.8.1'; - requires 'Catalyst::Runtime'; requires 'Class::Inspector'; +requires 'MRO::Compat'; requires 'Catalyst::Plugin::Session' => '0.10'; -test_requires 'Test::More'; +test_requires 'Test::More' => '0.88'; +test_requires 'Test::Exception'; +test_requires 'Class::MOP'; +test_requires 'Moose'; + +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 => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git'; + WriteAll;