From: Tomas Doran Date: Tue, 8 Dec 2009 01:02:54 +0000 (+0000) Subject: Make it easier on newbies trying to contribute by making it obvious what they are... X-Git-Tag: 0.93_01~41^2~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e503ae936e056cdff9f318c95b8eb085dde79d8;p=gitmo%2FMoose.git Make it easier on newbies trying to contribute by making it obvious what they are missing when checking out from git the first time --- diff --git a/Changes b/Changes index e6ded8e..c4cdb8f 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,13 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. + * Makefile.PL + - Use Module::Install extensions explicitly to avoid confusing errors + if they're not installed + - Use Module::Install::AuthorRequires to stop test extraction and + general failures if you don't have the author side dependencies + installed + 0.94 * Moose::Cookbook::Basics::Recipe4 - Grammar error [rt.cpan.org #51791] (Amir E. Aharoni) diff --git a/Makefile.PL b/Makefile.PL index 88cb876..1b50c2d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,8 @@ use strict; use warnings; use inc::Module::Install; +use Module::Install::ExtraTests; +use Module::Install::AuthorRequires; use 5.008001; check_conflicts(); @@ -23,6 +25,10 @@ requires 'Try::Tiny' => '0.02'; test_requires 'Test::More' => '0.88'; test_requires 'Test::Exception' => '0.27'; +author_requires 'Test::Inline'; +author_requires 'File::Find::Rule'; +author_requires 'Module::Info'; + if ( -d '.svn' || -d '.git' || $ENV{IS_MAINTAINER} ) { system( $^X, 'author/extract-inline-tests' ); }