1Dist::Zilla::Plugin::AuUtsoePrreCroenqtsr(i3b)uted PerlDDiosctu:m:eZnitlaltai:o:nPlugin::AutoPrereqs(3)
2
3
4

NAME

6       Dist::Zilla::Plugin::AutoPrereqs - automatically extract prereqs from
7       your modules
8

VERSION

10       version 6.012
11

SYNOPSIS

13       In your dist.ini:
14
15         [AutoPrereqs]
16         skip = ^Foo|Bar$
17         skip = ^Other::Dist
18

DESCRIPTION

20       This plugin will extract loosely your distribution prerequisites from
21       your files using Perl::PrereqScanner.
22
23       If some prereqs are not found, you can still add them manually with the
24       Prereqs plugin.
25
26       This plugin will skip the modules shipped within your dist.
27
28       Note, if you have any non-Perl files in your "t/" directory or other
29       directories being scanned, be sure to mark those files' encoding as
30       "bytes" with the Encoding plugin so they won't be scanned:
31
32           [Encoding]
33           encoding = bytes
34           match    = ^t/data/
35

ATTRIBUTES

37   finder
38       This is the name of a FileFinder whose files will be scanned to
39       determine runtime prerequisites.  It may be specified multiple times.
40       The default value is ":InstallModules" and ":ExecFiles".
41
42   test_finder
43       Just like "finder", but for test-phase prerequisites.  The default
44       value is ":TestFiles".
45
46   configure_finder
47       Just like "finder", but for configure-phase prerequisites.  There is no
48       default value; AutoPrereqs will not determine configure-phase
49       prerequisites unless you set configure_finder.
50
51   develop_finder
52       Just like "finder", but for develop-phase prerequisites.  The default
53       value is ":ExtraTestFiles".
54
55   skips
56       This is an arrayref of regular expressions, derived from all the 'skip'
57       lines in the configuration.  Any module names matching any of these
58       regexes will not be registered as prerequisites.
59
60   relationship
61       The relationship used for the registered prerequisites. The default
62       value is 'requires'; other options are 'recommends' and 'suggests'.
63
64   extra_scanners
65       This is an arrayref of scanner names (as expected by
66       Perl::PrereqScanner).  It will be passed as the "extra_scanners"
67       parameter to Perl::PrereqScanner.
68
69   scanners
70       This is an arrayref of scanner names (as expected by
71       Perl::PrereqScanner).  If present, it will be passed as the "scanners"
72       parameter to Perl::PrereqScanner, which means that it will replace the
73       default list of scanners.
74

SEE ALSO

76       Prereqs, Perl::PrereqScanner.
77

CREDITS

79       This plugin was originally contributed by Jerome Quelin.
80

AUTHOR

82       Ricardo SIGNES 😏 <rjbs@cpan.org>
83
85       This software is copyright (c) 2018 by Ricardo SIGNES.
86
87       This is free software; you can redistribute it and/or modify it under
88       the same terms as the Perl 5 programming language system itself.
89
90
91
92perl v5.30.0                      2019-07-26Dist::Zilla::Plugin::AutoPrereqs(3)
Impressum