-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;