Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clean up Build.PL #3
Removes the broken Build.PL and adds a README file explaining basic dzil usage.
I considered adding in dzil config to copy the generated Build.PL out of the .build directory, but that seemed more invasive. If you'd prefer that, I'm happy to revise this. Chrs.
(Part of the CPAN PR challenge.)
It's not so much broken, however it is a bit counter-intuitive. It's a template, not something intended to be used directly (though it's sort of functional by itself). It's needed to work around linking issues on Windows and Solaris. As such, I can't get rid of it that easily.
I'd love to have better infrastructure, but that would probably require a ModuleBuild::Awesome similar to MakeMaker::Awesome. That'd be a somewhat non-trivial project. Possibly I could convert to MakeMaker::Awesome, but most of the complicity is inherent not accidental.
It would be tricky to make it work right, and that sort of thing is generally not my preferred kind of workflow.
Looks ok to me. Possibly it should be filtered out of the dist when the final product is being built (and it's currently only partially formatted).
I was wondering if I would get a PR out of it :-). You had a though one assigned to you.
Okay, shortly I'll force-push an update to this branch that doesn't remove Build.PL but updates the README to clarify that the Build.PL file is a template and shouldn't be used. I'll also update the dist.ini to not copy the README into the build (and fixes the bad formatting)