X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=d733e1cce31e3f2d6d2c9adfa6d28cbde9308e06;hb=eab82ed135b830ff718ee9c581a62085955d754e;hp=0769bc765bfb3c708f2ff0fd5e65f977697c5d3b;hpb=db6de0b0a053512186ae9a9a7035ebb6735b7c3e;p=catagits%2FGitalist.git diff --git a/Makefile.PL b/Makefile.PL index 0769bc7..d733e1c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -29,7 +29,7 @@ if ($ENV{GITALIST_RELEASE_TESTING}) { # Fill in provides info so that indexing works right (in the face of MX::Declare) # by just smashing filenames to package names and not trying to be smart.. File::Find::find(sub { - return unless $File::Find::name =~ /\.pm$/; + return unless /^\w.*?\.pm$/; my $fn = $File::Find::name; my $ver = ExtUtils::MM_Unix->parse_version($fn); @@ -69,6 +69,7 @@ requires 'Config::General'; requires 'Moose'; requires 'Moose::Autobox'; +requires 'MooseX::MultiMethods' => '0.10'; requires 'MooseX::Declare' => '0.32'; requires 'MooseX::Types::Common'; requires 'MooseX::Types::Path::Class'; @@ -90,9 +91,6 @@ requires 'Path::Class' => '0.17'; requires 'Sub::Exporter'; requires 'Syntax::Highlight::Engine::Kate'; requires 'Sys::Hostname'; -requires 'XML::Atom'; -requires 'XML::RSS'; -requires 'XML::OPML::SimpleGen'; test_requires 'Test::More' => '0.88'; test_requires 'Test::utf8' => '0.02'; @@ -107,6 +105,16 @@ if ($Module::Install::AUTHOR) { and die $!; } +if ($ENV{GITALIST_RELEASE_TESTING}) { + author_tests 't/author'; + author_requires 'Test::NoTabs'; + author_requires 'Test::Pod' => '1.14'; + author_requires 'Test::Pod::Coverage' => '1.04'; + author_requires 'Test::WWW::Mechanize::Catalyst' => '0.51'; + author_requires 'HTML::TreeBuilder::XPath'; + author_requires 'WWW::Mechanize::TreeBuilder'; +} + install_script glob('script/*.pl'); auto_install;