fix Module::Install without . in @INC
[catagits/Catalyst-Plugin-Authentication.git] / Makefile.PL
1 use strict;
2 use warnings;
3 use lib '.';
4 use inc::Module::Install 0.87;
5 use Module::Install::AuthorRequires;
6 use Module::Install::AuthorTests;
7 use Module::Install::Authority;
8
9 if ( $Module::Install::AUTHOR ) {
10     system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' )
11         and die;
12 }
13
14 perl_version '5.008001';
15
16 name 'Catalyst-Plugin-Authentication';
17 all_from 'lib/Catalyst/Plugin/Authentication.pm';
18 authority 'cpan:BOBTFISH';
19
20 requires 'Catalyst::Runtime';
21 requires 'MRO::Compat';
22 requires 'Moose';
23 requires 'MooseX::Emulate::Class::Accessor::Fast';
24 requires 'namespace::autoclean';
25 requires 'String::RewritePrefix';
26 requires 'Try::Tiny';
27
28 test_requires 'Test::More' => '0.88';
29 test_requires 'Test::Exception';
30 test_requires 'Class::MOP';
31 test_requires 'Moose';
32
33 author_requires(
34     'Test::Pod' => '1.14',
35     'Test::Pod::Coverage' => '1.04',
36     'Test::NoTabs' => 0,
37     'Test::EOL' => 0,
38     'Test::WWW::Mechanize::Catalyst' => 0,
39     'Catalyst::Plugin::Session' => '0.10',
40     'Catalyst::Plugin::Session::State::Cookie' => 0,
41     'Digest::SHA' => 0,
42 );
43
44 author_tests 't/author';
45
46 auto_install;
47 resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git';
48
49 WriteAll;