NAME
Dist::Zilla::Plugin::Rinci::AddPrereqs - Add prerequisites from Rinci
metadata
VERSION
This document describes version 0.142 of
Dist::Zilla::Plugin::Rinci::AddPrereqs (from Perl distribution
Dist-Zilla-Plugin-Rinci-AddPrereqs), released on 2018-06-11.
SYNOPSIS
In "dist.ini":
[Rinci::AddPrereqs]
DESCRIPTION
This plugin will search Rinci metadata in all modules and add prereqs
for the following:
* For every dependency mentioned in "deps" property in function
metadata, will add a prereq to "Perinci::Sub::Dep::NAME".
This plugin will also search all Perinci::CmdLine-based scripts, request
metadata from all local Riap URI's used by the scripts, and add prereqs
for the above plus:
* Add prereq for the module specified in the Riap URL. So for example
if script refers to "/Perinci/Examples/some_func", then a
prerequisite will be added for "Perinci::Examples" (unless it's from
the same distribution).
* For every entity mentioned in "x.schema.entity" or
"x.schema.element_entity" in function metadata, will add a prereq to
"Perinci::Sub::ArgEntity::NAME".
* For every completion mentioned in "x.completion" or
"x.element_completion" in function metadata (which have the value of
"[NAME, ARGS]"), will add a prereq to corresponding
"Perinci::Sub::XCompletion::NAME".
HOMEPAGE
Please visit the project's homepage at
<https://metacpan.org/release/Dist-Zilla-Plugin-Rinci-AddPrereqs>.
SOURCE
Source repository is at
<https://github.com/perlancar/perl-Dist-Zilla-Plugin-Rinci-AddPrereqs>.
BUGS
Please report any bugs or feature requests on the bugtracker website
<https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Rin
ci-AddPrereqs>
When submitting a bug or request, please include a test-file or a patch
to an existing test-file that illustrates the bug or desired feature.
SEE ALSO
Rinci
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018, 2016, 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.