Fix Makefile.PL so author modules aren't needed
Tomas Doran [Sat, 1 May 2010 20:48:24 +0000 (20:48 +0000)]
Add brackets so everything parses if you don't have the M::I extensions
and you run Makefile.PL without $ENV{GITALIST_RELEASE_TESTING}

Makefile.PL

index dea8818..d73b0aa 100644 (file)
@@ -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');