conditional use for 'Module::Install::AuthorRequires' moved 1 line up to avoid anothe...
[catagits/Catalyst-Controller-MovableType.git] / Makefile.PL
CommitLineData
ebf8ace2 1use strict;
2use warnings;
f50d523f 3use if $Module::Install::AUTHOR, 'Module::Install::AuthorRequires';
7f799146 4use inc::Module::Install 0.91;
ebf8ace2 5use Module::Install::AuthorTests;
6
7name 'Catalyst-Controller-MovableType';
8all_from 'lib/Catalyst/Controller/MovableType.pm';
9
10requires 'Moose';
11requires 'namespace::autoclean';
12
13build_requires 'Catalyst::Runtime' => '5.80015';
14build_requires 'Test::WWW::Mechanize::Catalyst';
15build_requires 'Test::More' => '0.88';
16
17author_requires 'Test::Pod::Coverage' => '1.04';
18author_requires 'Test::Pod' => '1.14';
19
20author_tests 't/author';
21
22resources repository => 'git://somewhere.com/myproject.git';
23
24if ($Module::Install::AUTHOR) {
25 system("pod2text lib/Catalyst/Controller/MovableType.pm > README")
26 and die $!;
27}
28
29WriteAll();