From: Shawn M Moore Date: Sun, 26 Sep 2010 03:19:13 +0000 (-0400) Subject: Use AuthorRequires to force authors to run all tests X-Git-Tag: 1.09~36 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=42d5274b7d474139e3d2bed2213c0322beb95a7d;p=gitmo%2FClass-MOP.git Use AuthorRequires to force authors to run all tests --- diff --git a/Changes b/Changes index 51a211d..91f5e56 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,8 @@ Revision history for Perl extension Class-MOP. * Use get_or_add_package_symbol when we intend for it to autovivify, in preparation for changes in Package::Stash. (doy) + * We now use Module::Install::AuthorRequires to force authors to run + all tests, just like we do for Moose. (sartak) 1.08 Mon, Sep 13, 2010 diff --git a/Makefile.PL b/Makefile.PL index 9aa7506..5e92345 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,7 @@ use strict; use warnings; use inc::Module::Install; +use Module::Install::AuthorRequires; use Module::Install::ExtraTests; use 5.008001; @@ -35,6 +36,13 @@ test_requires 'Test::More' => '0.88'; test_requires 'Test::Exception' => '0.27'; test_requires 'Test::Requires' => '0.05'; +author_requires 'Algorithm::C3'; +author_requires 'Module::Info'; +author_requires 'Test::LeakTrace'; +author_requires 'Test::NoTabs'; +author_requires 'Test::Output'; +author_requires 'Test::Spelling'; + repository 'git://git.moose.perl.org/Class-MOP.git'; add_metadata(x_authority => 'cpan:STEVAN');