Eric Wilhelm wrote:
> # from Christopher J. Madsen
> # on Friday 02 October 2009 11:31:
> 
>> As an install tool, MB must have minimal requirements.  Since it only
>> creates distributions, Dist::Zilla can have much steeper requirements
> 
> I've been thinking of some way to separate the minimal parts.

I think MB ought to be split up into the "build/test/install module"
part and the "tools for distribution authors" part.  MakeMaker combined
the two, and MB followed suit, but I don't think it was a good idea.  It
sounds like that's what you're talking about.

>> 1. Parse Build.PL directly.  Seems like a recipe for disaster.
>> 2. Read the files in the _build directory.  Possible but fragile.
>> 3. Reconstruct the MB object.
>> 4. Run "./Build distmeta" then read META.yml.
>
> 5.  feed Build.PL parameters from $something_else

I take it you're talking about putting the config into DZ, having DZ
write it to some file, and having Build.PL read that file.

I don't really like that idea.  The main reason is that if something
goes wrong in options 1-4, it happens on my machine and I get to debug
it.  If it goes wrong in option 5, it happens on some random person's
machine, who may or may not report it, and may or may not send useful
details.

-- 
Chris Madsen                                          p...@cjmweb.net
  --------------------  http://www.cjmweb.net  --------------------

Reply via email to