From: t0m Date: Fri, 17 Jul 2009 17:59:26 +0000 (+0100) Subject: Add author tests to Makefile.PL X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-TraitFor-Request-ProxyBase.git;a=commitdiff_plain;h=HEAD Add author tests to Makefile.PL --- diff --git a/Makefile.PL b/Makefile.PL index a7ada01..eda0111 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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) {