Re: Integrating Module::Build and Dist::Zilla

[email protected] (Eric Wilhelm)
Newsgroups perl.module.build
Message-ID <[email protected]>
# 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.

But orthogonal to that:

>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

Unfortunately Module::Build::YAML::Load() is not implemented.  But you 
could use e.g. yaml on your dev box and make sure to ship something 
from Data::Dumper, which can be read with do() for the install target.

--Eric
-- 
"Left to themselves, things tend to go from bad to worse."
--Murphy's Corollary
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.