From: Tomas Doran Date: Sat, 1 May 2010 20:48:24 +0000 (+0000) Subject: Fix Makefile.PL so author modules aren't needed X-Git-Tag: 0.001004~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=6513677c9be1465ff8b0ea9c8943e955145c9f7a Fix Makefile.PL so author modules aren't needed Add brackets so everything parses if you don't have the M::I extensions and you run Makefile.PL without $ENV{GITALIST_RELEASE_TESTING} --- diff --git a/Makefile.PL b/Makefile.PL index dea8818..d73b0aa 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -111,13 +111,13 @@ if ($Module::Install::AUTHOR) { } 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'; + 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');