X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=4cc7e7f13b0376ca484a2631645d3e1e5db3f63e;hb=9cc63d26de0a01ed924d60d4e11a3f59909bf946;hp=88cb8767ab077dc262c03106a3d77e890dafdf73;hpb=fb1eea22444382affc6f709f21c070c559587a18;p=gitmo%2FMoose.git diff --git a/Makefile.PL b/Makefile.PL index 88cb876..4cc7e7f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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' ); }