use M::I for test_requires for Cat. Also add the standard MANIFEST.SKIP. master
Chris Nehren [Thu, 14 Jul 2011 16:33:08 +0000 (12:33 -0400)]
MANIFEST.SKIP [new file with mode: 0644]
Makefile.PL

diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
new file mode 100644 (file)
index 0000000..8de40ec
--- /dev/null
@@ -0,0 +1,2 @@
+^(?!script/|examples/|lib/|inc/|t/.+\.t|t/dist/\w+/(\w+\.PL|lib/\w+\.pm)|Makefile.PL$|README$|MANIFEST$|Changes$|META.yml$)
+.svn
index c05a4d0..019a3cc 100644 (file)
@@ -1,19 +1,22 @@
-use ExtUtils::MakeMaker;
+use inc::Module::Install;
 
-WriteMakefile(
-  NAME => 'Test-Harness-Selenium',
-  VERSION_FROM => 'lib/Test/Harness/Selenium.pm',
-  LICENSE => 'perl',
-  PREREQ_PM => {
-    map +($_ => 0), qw(
-      File::Find::Rule
-      Socialtext::WikiFixture::Selenese
-      HTML::TableExtract
-      IO::All
-      Alien::SeleniumRC
-      Child
-      Class::Method::Modifiers
-      strictures
-    )
-  }
-);
+name           'Test-Harness-Selenium';
+all_from       'lib/Test/Harness/Selenium.pm';
+requires      'File::Find::Rule' => 0;
+requires      'Socialtext::WikiFixture::Selenese' => 0;
+requires      'HTML::TableExtract' => 0;
+requires      'IO::All' => 0;
+requires      'Alien::SeleniumRC' => 0;
+requires      'Child' => 0;
+requires      'Class::Method::Modifiers' => 0;
+requires      'LWP::Simple' => 0;
+
+# this is the right line but the toolchain doesn't seem to find it even though
+# it's installed.
+requires      'strictures' => 0;
+
+test_requires 'Catalyst::Devel' => 0;
+test_requires 'Catalyst::Runtime' => 0;
+
+auto_install;
+WriteAll;