1Dist::Zilla::Plugin::GaUtsheerrFCiolnet(r3i)buted Perl DDoicsutm:e:nZtialtliao:n:Plugin::GatherFile(3)
2
3
4
6 Dist::Zilla::Plugin::GatherFile - gather individual file(s)
7
9 version 6.014
10
12 [GatherFile]
13 filename = examples/file.txt
14
16 This is a very, very simple FileGatherer plugin. It adds all the files
17 referenced by the "filename" option that are found in the directory
18 named in the "root" attribute. If the root begins with a tilde, the
19 tilde is passed through "glob()" first.
20
21 Since normally every distribution will use a GatherDir plugin, you
22 would only need to use the GatherFile plugin if the file was already
23 being excluded (e.g. from an "exclude_match" configuration).
24
26 root
27 This is the directory in which to look for files. If not given, it
28 defaults to the dist root -- generally, the place where your dist.ini
29 or other configuration file is located.
30
31 prefix
32 This parameter can be set to place the gathered files under a
33 particular directory. See the description above for an example.
34
35 filename
36 The name of the file to gather, relative to the "root". Can be used
37 more than once.
38
40 Ricardo SIGNES 😏 <rjbs@cpan.org>
41
43 This software is copyright (c) 2020 by Ricardo SIGNES.
44
45 This is free software; you can redistribute it and/or modify it under
46 the same terms as the Perl 5 programming language system itself.
47
48
49
50perl v5.30.1 2020-03-03Dist::Zilla::Plugin::GatherFile(3)