X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=fa12b05b080d9fe028284c104d93582605d5c2e3;hb=c7c06ff0cc2c5d128d7084843ed96288c76c53d6;hp=30d6739f8430c24b72b6b2a2695348776b6e2425;hpb=aea6a2daf91fe3f71f5018d78fdeeff3da6833c8;p=catagits%2FCatalyst-View-Component-SubInclude.git diff --git a/Makefile.PL b/Makefile.PL index 30d6739..fa12b05 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,18 +1,36 @@ -# IMPORTANT: if you delete this file your app will not work as -# expected. you have been warned -use inc::Module::Install; +use strict; +use warnings; +use inc::Module::Install 0.91; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; name 'Catalyst-View-Component-SubInclude'; all_from 'lib/Catalyst/View/Component/SubInclude.pm'; -requires 'Catalyst::Runtime' => '5.70000'; +requires 'Catalyst::Runtime' => '5.80014'; requires 'Catalyst::Plugin::SubRequest'; requires 'Moose'; requires 'Moose::Role'; +requires 'MooseX::Types'; requires 'Carp'; requires 'namespace::clean'; +test_requires 'Test::More' => '0.88'; +test_requires 'Catalyst::View::TT'; +test_requires 'Catalyst::Action::RenderView'; + +author_requires 'Test::Pod::Coverage' => '1.04'; +author_requires 'Test::Pod' => '1.14'; +author_tests 't/author'; + catalyst; +resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-View-Component-SubInclude'; + +if ($Module::Install::AUTHOR) { + system("pod2text lib/Catalyst/View/Component/SubInclude.pm > README") + and die $! +} + auto_install; WriteAll;