Reorder changes to put most interesting ones first
[gitmo/Moose.git] / Makefile.PL
index 88cb876..4cc7e7f 100644 (file)
@@ -1,6 +1,8 @@
 use strict;
 use warnings;
-use inc::Module::Install;
+use inc::Module::Install 0.91;
+use Module::Install::ExtraTests;
+use Module::Install::AuthorRequires;
 use 5.008001;
 
 check_conflicts();
@@ -23,7 +25,11 @@ requires 'Try::Tiny'        => '0.02';
 test_requires 'Test::More'      => '0.88';
 test_requires 'Test::Exception' => '0.27';
 
-if ( -d '.svn' || -d '.git' || $ENV{IS_MAINTAINER} ) {
+author_requires 'Test::Inline';
+author_requires 'File::Find::Rule';
+author_requires 'Module::Info';
+
+if ( $Module::Install::AUTHOR || $ENV{IS_MAINTAINER} ) {
     system( $^X, 'author/extract-inline-tests' );
 }