From: Tomas Doran Date: Fri, 29 Jul 2011 08:13:04 +0000 (+0000) Subject: Add author requires so all the tests get run X-Git-Tag: v0.10019~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Authentication.git;a=commitdiff_plain;h=1b409445e2338bde8528b0ccb2a3176b2aa25927 Add author requires so all the tests get run --- diff --git a/Makefile.PL b/Makefile.PL index d8bce15..f7b4e2b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,8 @@ +use strict; +use warnings; use inc::Module::Install 0.87; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; if ( $Module::Install::AUTHOR ) { system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ) @@ -21,6 +25,11 @@ 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;