On 13-02-23 09:57 AM, Ovid wrote:
How do I assert the Perl version I want with Dist::Zilla?
[Prereqs] perl = 5.16.0 Or, if you use AutoPrereqs, sticking a 'use 5.16.0;' in any of the modules will also do it.
Also, I wrote the following rebuild script for it: #!/bin/bash # damn, I should just hack a makefile? # Why would I do that if I have dzil? dzil clean && dzil test && dzil build if [ $? -eq 0 ]; then cd Unknown-Values-*/ echo Regenerating markdown pod2markdown < lib/Unknown/Values.pm > README.md mv README.md .. else echo Could not rebuild exit $? fi I assume I could automate the clean, rebuild and test via Dist::Zilla (along with the markdown generation) through Dist::Zilla, but I'm not seeing how. Can someone point me to the right docs?
For what it's worth, I'm using Dist::Zilla::Plugin::ReadmeMarkdownFromPod to automatically create the README.md.
Joy, `/anick