Add author requires so all the tests get run
[catagits/Catalyst-Plugin-Authentication.git] / Makefile.PL
CommitLineData
1b409445 1use strict;
2use warnings;
d4201786 3use inc::Module::Install 0.87;
1b409445 4use Module::Install::AuthorRequires;
5use Module::Install::AuthorTests;
f35dde03 6
c7b6526a 7if ( $Module::Install::AUTHOR ) {
8 system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' )
9 and die;
10 require Module::Install::AuthorTests;
85c6f23d 11}
12
71f2a7df 13perl_version '5.008001';
14
f35dde03 15name 'Catalyst-Plugin-Authentication';
16all_from 'lib/Catalyst/Plugin/Authentication.pm';
17
f35dde03 18requires 'Catalyst::Runtime';
19requires 'Class::Inspector';
47cede3d 20requires 'MRO::Compat';
f35dde03 21requires 'Catalyst::Plugin::Session' => '0.10';
22
4b33bb96 23test_requires 'Test::More' => '0.88';
71f2a7df 24test_requires 'Test::Exception';
c7b6526a 25test_requires 'Class::MOP';
26test_requires 'Moose';
27
1b409445 28author_requires 'Test::WWW::Mechanize::Catalyst';
29author_requires 'Catalyst::Plugin::Session';
30author_requires 'Catalyst::Plugin::Session::State::Cookie';
31author_requires 'Digest::SHA1';
32
c7b6526a 33author_tests 't/author';
948295dd 34
f35dde03 35auto_install;
c7b6526a 36resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Authentication/0.10000/trunk';
dc09e932 37
f35dde03 38WriteAll;