NAME

Dist::Zilla::Role::DynamicPrereqs::Meta - A role to add dynamic prereqs to to the metadata in your Dist::Zilla build

VERSION

version 0.006

DESCRIPTION

This is a role for adding plugins that add dynamic prerequisites to the metadata.

ATTRIBUTES

conditions

One or more conditions, as defined by CPAN::Requirements::Dynamic.

joiner

The operator that is used when more than one condition is given. This must be either and or or.

prereqs

One or more prerequisites that will be added to the requirements if the condition passes.

phase

The phase of the prerequisites, this defaults to 'runtime'.

relation

The relationship of the prerequisites, this defaults to 'requires'.

error

Instead of prerequisites being added, an error will be outputted if the condition matches.

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.