Preventing missing dependencies
robrwo at gmail.com
Mon Feb 27 13:24:07 GMT 2006
On 02/26/2006 08:05 PM Robin Berjon wrote:
> On Feb 26, 2006, at 20:54, Aaron Trevena wrote:
>> On 26/02/06, Robin Berjon <robin.berjon at expway.fr> wrote:
>> Surely make test rather than make dist - it should be relatively
>> simple to write a test, that checks dependancies against either
>> Makefile.PL or META.yaml.
>> I'm guessing there are all the required pieces on CPAN to knock
>> together a Test::PreRequsitites within a couple of hours
> The reason I prefer dist over test is because using the latter means one
> more thing to remember, when the problem is folks forgetting something
> in the first place :) Having make dist issue a "WARNING: used module Foo
> not listed in prerequisites" would work either way, and I can't think of
> a case in which it'd be harmful.
What about disttest (supported by ExtUtils::MakeMaker and Module::Build)?
More information about the london.pm