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=fd19e82095bb2cce59019f20df022059ecfc22de;hp=2d2443b82f2e13cc9e76aaf0d85aea98055dc1d8;hb=09ce3d5ab3cff600bbee4112779a7385943973d2;hpb=66ae88d95332f6c87b1c4de8e212afc29f0d4319 diff --git a/Makefile.PL b/Makefile.PL index 2d2443b..fd19e82 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,10 +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/'; +if ($Module::Install::AUTHOR) { + system("pod2text lib/Catalyst/Plugin/Session/State/Cookie.pm > README") + and die; +} + WriteAll;