NAME
Dist::Zilla::Plugin::DistBuild - Build a Build.PL that uses Dist::Build
VERSION
version 0.002
DESCRIPTION
This plugin will create a Build.PL for installing the dist using Dist::Build.
If needed it will also create a planner/sharedir.pl file to integrate all sharedirs known to Dist::Zilla
.
ATTRIBUTES
version
Optional: Specify the minimum version of Dist::Build to depend on.
Defaults to the version determined by version_method
.
version_method
This attribute determines how the default minimum perl is detected. It has two possible values:
installed
This will give the version installed on the author's perl installation.
heuristic
This will return a heuristically determined minimum version of
Dist::Build
.
auto_plugin_requires
If true, this plugin will try to automatically scan for the dependencies of your planner/ scripts. Defaults to false.
minimum_perl
Optional: Specify the minimum version of perl to require in the Build.PL.
This is normally taken from dzil's prereq metadata.
header
A line of code which is included near the top of Build.PL. Can be used more than once.
footer
A line of code which is included at the bottom of Build.PL. Can be used more than once.
delimiter
A string, usually a single character, which is stripped from the beginning of all header
, and footer
lines. This is because the INI file format strips all leading whitespace from option values, so including this character at the front allows you to use leading whitespace in an option string. This is helpful for the formatting of Build.PLs, but a nice thing to have when inserting any block of code.
AUTHOR
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.