X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=3b6e0244e0285f13f39d74a52376093a4518fc80;hb=c7b6526a196a47527ef4d6b3446d3e22e4f93d5b;hp=d1133115d728757504a367c91dcfb5d0cbd44de4;hpb=534ef59dec51b95f31e80bc0cff4a5bbfe1e556a;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/Makefile.PL b/Makefile.PL index d113311..3b6e024 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'; @@ -16,9 +18,12 @@ requires 'Catalyst::Plugin::Session' => '0.10'; test_requires 'Test::More'; 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/trunk/Catalyst-Plugin-Authentication/'; +resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Authentication/0.10000/trunk'; WriteAll;