Re: [Module-build-general] Bootstrapping
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-06-23 16:27:40
|
On Friday, June 20, 2003, at 11:31 PM, Dave Rolsky wrote: > I believe it was Mark Fowler who brought this issue up at the M::B BOF > at > YAPC. > > His basic problem was that he had a subclass of M::B that he wanted to > use > in various modules he might distribute on CPAN. This leads to the > question of how to specify this prerequisite. > > I think this needs a new prereq specification for "bootstrap" modules, > so > we can do something like this: > > use Module::Build; > Module::Build->boostrap_requires( 'Module::Build::Foo' => 0.15, ... > ); > > require Module::Build::Foo; > > Module::Build::Foo->new( ... )->create_build_script; > > This wouldn't be too hard to implement but I wanted to discuss the API > before creating a patch. > > So what do others think? I'm probably open to the idea, but not for the 1.19 release. I sort of also need to be convinced that it's worthwhile putting these things on CPAN, since I'd imagine they will mostly be special-purpose tools for specific build processes. -Ken |