cleaned up steps to create an app/component
[catagits/Catalyst-Devel.git] / Makefile.PL
index 3f17d8e..cf91a7e 100644 (file)
@@ -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) {