Make it easier on newbies trying to contribute by making it obvious what they are...
Tomas Doran [Tue, 8 Dec 2009 01:02:54 +0000 (01:02 +0000)]
Changes
Makefile.PL

diff --git a/Changes b/Changes
index e6ded8e..c4cdb8f 100644 (file)
--- 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)
index 88cb876..1b50c2d 100644 (file)
@@ -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' );
 }