X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7f608e7f51e11b9182120cb679357560a9c250ed;hb=8fcdb9973a1df1958b61059c8cef572780daf91d;hp=cbcd6ae8f0dc413e5710d052a21ddf4e4f6bb2c1;hpb=d202164d8a8e006ffaa0b57d50278167922f62a3;p=gitmo%2FMouse.git diff --git a/Makefile.PL b/Makefile.PL index cbcd6ae..7f608e7 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,9 +1,17 @@ +# for developpers: +BEGIN{ + if(grep{ $_ eq '--author' } @ARGV){ + print "^X -S cpanm < author/requires.cpanm\n"; + system "$^X -S cpanm < author/requires.cpanm"; + } +} + use strict; use warnings; use inc::Module::Install; # for co-developpers -use Module::Install::XSUtil 0.21; +use Module::Install::XSUtil 0.22; use Module::Install::AuthorTests; system($^X, 'tool/generate-mouse-tiny.pl', 'lib/Mouse/Tiny.pm') == 0 @@ -18,6 +26,7 @@ requires 'Scalar::Util' => 1.14; test_requires 'Test::More' => 0.88; test_requires 'Test::Exception' => 0.29; +test_requires 'Test::Requires' => 0.03; # test_requires 'Test::Output' => 0.16; # too many dependencies! if($] < 5.010) { @@ -71,7 +80,7 @@ author_tests 'xt'; repository 'git://git.moose.perl.org/Mouse.git'; -clean_files 'lib/Mouse/Tiny.pm $(O_FILES)'; +clean_files 'lib/Mouse/Tiny.pm $(O_FILES) test-mydeps-*.log'; if (author_context()) {