From: Tomas Doran Date: Sun, 10 Jan 2010 19:03:23 +0000 (+0000) Subject: Add author_requires for all the optional modules so that authors have to run all... X-Git-Tag: 0.24~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ba17e629b59ca9edaf0bdc88548a04c82c63b880;hp=5cc94cf58b4c2ad212d5856335016475687353b2;p=gitmo%2FMooseX-Storage.git Add author_requires for all the optional modules so that authors have to run all the tests --- diff --git a/Makefile.PL b/Makefile.PL index 79e867c..6012e73 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,26 +11,33 @@ all_from 'lib/MooseX/Storage.pm'; requires 'Moose' => '0.87'; requires 'String::RewritePrefix'; +author_requires 'Test::Without::Module'; + # you should have at least one # serialization format feature 'JSON', -default => 1, 'JSON::Any' => '1.15', 'Test::JSON' => '0.06'; +author_requires 'JSON::Any' => '1.15'; +author_requires 'Test::JSON' => '0.06'; feature 'YAML', -default => 1, 'YAML::Any' => '0'; +author_requires 'YAML::Any'; feature 'Storable', -default => 1, 'Storable' => '0'; +author_requires 'Storable'; # and the ability to save the # file to disk feature 'File', -default => 1, 'IO::File' => '0.1'; +author_requires 'IO::File' => '0.1'; author_tests 't/author';