X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=cf91a7eec9e27a70114eb8aee9180d62b059e4e3;hb=420ad6922a8793454f5de61409889193125ae6a1;hp=3f17d8e9e0579fcd53c0cfb1bdfa79db6eaa13dc;hpb=e755dc55f62732600be8af6674de86c4e0ecc3d9;p=catagits%2FCatalyst-Devel.git diff --git a/Makefile.PL b/Makefile.PL index 3f17d8e..cf91a7e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,10 @@ use inc::Module::Install 0.87; name 'Catalyst-Devel'; all_from 'lib/Catalyst/Devel.pm'; +requires 'Moose'; +requires 'namespace::autoclean'; +requires 'MooseX::Types'; +requires 'File::ShareDir'; requires 'Catalyst' => '5.8000'; requires 'Catalyst::Action::RenderView' => '0.04'; requires 'Catalyst::Plugin::Static::Simple' => '0.16'; @@ -16,8 +20,10 @@ requires 'parent'; # as of 1.04 requires 'Path::Class' => '0.09'; requires 'Template' => '2.14'; +install_share 'share'; + if ( $^O eq 'MSWin32' ) { - # Proc::Background needs tihs on Win32 but doesn't actually + # Proc::Background needs this on Win32 but doesn't actually # require it, if it's missing it just dies in the Makefile.PL. requires 'Win32::Process' => '0.04'; requires 'Proc::Background'; @@ -30,7 +36,7 @@ if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { open NULL, '>', File::Spec->devnull; my $err = gensym; my $pid = open3(gensym, '&>NULL', $err, "$^X -It/lib -MUnknownError -e 1"); - + my $unknown_error = 0; while (<$err>) { @@ -44,7 +50,7 @@ if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { ############################### WARNING ################################# # # # You are using perl 5.10.0 with the "Unknown error" bug. This can make # -# developing Catalyst applications much more painful, as it will come # +# developing Catalyst applications much more painful, as it will come # # up with no details every time you have a syntax error in a Controller.# # # # For more information see: # @@ -72,8 +78,6 @@ if ($] >= 5.009_005 && can_use('Class::C3') && !can_use('Class::C3', 0.20)) { auto_install; -resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Devel/1.00/trunk/'; - WriteAll; if ($Module::Install::AUTHOR) {