Use Try::Tiny rather than eval
[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;
efea013f 6use Module::Install::Authority;
f35dde03 7
c7b6526a 8if ( $Module::Install::AUTHOR ) {
9 system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' )
10 and die;
85c6f23d 11}
12
71f2a7df 13perl_version '5.008001';
14
f35dde03 15name 'Catalyst-Plugin-Authentication';
16all_from 'lib/Catalyst/Plugin/Authentication.pm';
efea013f 17authority 'BOBTFISH';
f35dde03 18
f35dde03 19requires 'Catalyst::Runtime';
20requires 'Class::Inspector';
47cede3d 21requires 'MRO::Compat';
f35dde03 22requires 'Catalyst::Plugin::Session' => '0.10';
8d5a01fc 23requires 'Moose';
24requires 'MooseX::Emulate::Class::Accessor::Fast';
25requires 'namespace::clean';
d5e3af2f 26requires 'String::RewritePrefix';
8f57bf96 27requires 'Try::Tiny';
f35dde03 28
4b33bb96 29test_requires 'Test::More' => '0.88';
71f2a7df 30test_requires 'Test::Exception';
c7b6526a 31test_requires 'Class::MOP';
32test_requires 'Moose';
33
c30f39a8 34author_requires(
35 'Test::Pod' => '1.14',
36 'Test::Pod::Coverage' => '1.04',
37 'Test::NoTabs' => 0,
38 'Test::EOL' => 0,
39 'Test::WWW::Mechanize::Catalyst' => 0,
40 'Catalyst::Plugin::Session' => 0,
41 'Catalyst::Plugin::Session::State::Cookie' => 0,
42 'Digest::SHA1' => 0,
43);
1b409445 44
c7b6526a 45author_tests 't/author';
948295dd 46
f35dde03 47auto_install;
1d241ed7 48resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git';
dc09e932 49
f35dde03 50WriteAll;