NAME
Dist::Zilla::Plugin::Rinci::AddPrereqs - Add prerequisites from Rinci metadata
VERSION
This document describes version 0.143 of Dist::Zilla::Plugin::Rinci::AddPrereqs (from Perl distribution Dist-Zilla-Plugin-Rinci-AddPrereqs), released on 2019-12-28.
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 toPerinci::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 forPerinci::Examples
(unless it's from the same distribution).For every entity mentioned in
x.schema.entity
orx.schema.element_entity
in function metadata, will add a prereq toPerinci::Sub::ArgEntity::NAME
.For every completion mentioned in
x.completion
orx.element_completion
in function metadata (which have the value of[NAME, ARGS]
), will add a prereq to correspondingPerinci::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-Rinci-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
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2019, 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.