X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=blobdiff_plain;f=Makefile.PL;h=5fbce0d74badfdf74f31386f5f401334a99e5ddc;hp=07d7795dee177dc28344703975a4d5080983990d;hb=741dfe993af2dbd6cf2dc4b0d9270b9c641ac0d4;hpb=54f23b71176c04b56e995bed63eabc8d40435927 diff --git a/Makefile.PL b/Makefile.PL index 07d7795..5fbce0d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,11 +5,18 @@ all_from 'lib/Catalyst/Plugin/Session/State/Cookie.pm'; requires 'Catalyst' => '5.80005'; requires 'Catalyst::Plugin::Session' => '0.19'; -requires 'Test::MockObject' => '1.01'; requires 'MRO::Compat'; +requires 'Moose'; +requires 'namespace::autoclean'; +test_requires 'Moose'; test_requires 'Test::More'; auto_install; -resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Plugin-Session-State-Cookie/'; +resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session-State-Cookie/trunk/'; + +if ($Module::Install::AUTHOR) { + system("pod2text lib/Catalyst/Plugin/Session/State/Cookie.pm > README") + and die; +} WriteAll;