[Module-build-general] Re: [Cpanplus-devel] CPANPLUS support for Module::Build
Status: Beta
Brought to you by:
kwilliams
|
From: Autrijus T. <aut...@au...> - 2003-01-05 15:12:47
|
On Sat, Jan 04, 2003 at 06:04:17PM -0600, Dave Rolsky wrote:
> What CPANPLUS should do is _load_ Module::Build and then do something like
> this:
>=20
> my $build =3D resume Module::Build (
> properties =3D> {
> config_dir =3D> '_build',
> build_script =3D> 'Build',
> },
> );
> my $failures =3D $build->prereq_failures;
This is good. Will be applied in -devel soon.
> Another problem is that CPANPLUS might end up passing MakeMaker flags to
> Module::Build (like TEST_VERBOSE=3D1 instead of verbose=3D1). Ken, I'd
> suggest just having Module::Build look for at least a commonly used
> superset of the MM flags.
We toyed with the idea of modulebuildflags, but decided that it's
too much of trouble for a user to set things up twice. Your suggestion
is most prudent.
Thanks,
/Autrijus/
|