X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=d8bce157f6f666710705dc621ae8a0626556a3f8;hb=6a7fcc9f67484dada2d4e2fc1ee3c6759e94126b;hp=8ba1ae306a5a69bb60f5bf96f53135000a03d374;hpb=d42017863ba1d2dfe45baf5250efc2b144954772;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/Makefile.PL b/Makefile.PL index 8ba1ae3..d8bce15 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,7 +1,9 @@ use inc::Module::Install 0.87; -if( -e 'MANIFEST.SKIP' ) { - system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ); +if ( $Module::Install::AUTHOR ) { + system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ) + and die; + require Module::Install::AuthorTests; } perl_version '5.008001'; @@ -14,9 +16,14 @@ requires 'Class::Inspector'; requires 'MRO::Compat'; requires 'Catalyst::Plugin::Session' => '0.10'; -test_requires 'Test::More'; +test_requires 'Test::More' => '0.88'; test_requires 'Test::Exception'; -test_requires 'Test::MockObject'; +test_requires 'Class::MOP'; +test_requires 'Moose'; + +author_tests 't/author'; auto_install; +resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Authentication/0.10000/trunk'; + WriteAll;