Add author tests to Makefile.PL master
t0m [Fri, 17 Jul 2009 17:59:26 +0000 (18:59 +0100)]
Makefile.PL

index a7ada01..eda0111 100644 (file)
@@ -2,6 +2,12 @@ use strict;
 use warnings;
 use inc::Module::Install 0.91;
 
+BEGIN {
+    if ($Module::Install::AUTHOR) {
+        require Module::Install::AuthorTests;
+    }
+}
+
 name 'Catalyst-TraitFor-Request-ProxyBase';
 all_from 'lib/Catalyst/TraitFor/Request/ProxyBase.pm';
 
@@ -17,6 +23,8 @@ test_requires 'HTTP::Request::Common';
 resources repository => 'http://github.com/bobtfish/catalyst-traitfor-request-proxybase';
 license 'perl';
 
+author_tests('t/author');
+
 WriteAll();
 
 if ($Module::Install::AUTHOR) {