From: Chris Nehren Date: Thu, 14 Jul 2011 16:33:08 +0000 (-0400) Subject: use M::I for test_requires for Cat. Also add the standard MANIFEST.SKIP. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=HEAD;p=scpubgit%2FTest-Harness-Selenium.git use M::I for test_requires for Cat. Also add the standard MANIFEST.SKIP. --- diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP new file mode 100644 index 0000000..8de40ec --- /dev/null +++ b/MANIFEST.SKIP @@ -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 diff --git a/Makefile.PL b/Makefile.PL index c05a4d0..019a3cc 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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;