From: Tomas Doran Date: Thu, 26 Aug 2010 16:36:20 +0000 (+0100) Subject: AutoPrereq doesn't work here. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=commitdiff_plain;h=autoprereq AutoPrereq doesn't work here. We get (from the tests): App: 0 BaseApp::WithConfig: 0 And things that are optional deps: MooseX::ConfigFromFile: 0 MooseX::SimpleConfig: 0 --- diff --git a/dist.ini b/dist.ini index abf6468..f07404d 100644 --- a/dist.ini +++ b/dist.ini @@ -18,15 +18,5 @@ copyright_holder = Infinity Interactive, Inc dist = MooseX-Getopt repository_at = gitmo authority = cpan:STEVAN -auto_prereq = 0 +auto_prereq = 1 -[Prereq] -Getopt::Long = 2.37 -Getopt::Long::Descriptive = 0.081 -Moose = 0.56 - -[Prereq / TestRequires] -Test::Exception = 0.21 -Test::Warn = 0.21 -Test::More = 0.88 -Test::Requires = 0.05 diff --git a/t/000_load.t b/t/000_load.t index a06573d..60e460e 100644 --- a/t/000_load.t +++ b/t/000_load.t @@ -3,8 +3,12 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More 0.88; +use Test::Warn 0.21; +use Test::Requires 0.05; +use Test::Exception 0.21; + +use_ok('MooseX::Getopt'); + +done_testing; -BEGIN { - use_ok('MooseX::Getopt'); -}