1Dist::Zilla::Plugin::PrUusneerFiCloenst(r3i)buted Perl DDoicsutm:e:nZtialtliao:n:Plugin::PruneFiles(3)
2
3
4
6 Dist::Zilla::Plugin::PruneFiles - prune arbitrary files from the dist
7
9 version 6.024
10
12 This plugin allows you to explicitly prune some files from your
13 distribution. You can either specify the exact set of files (with the
14 "filenames" parameter) or provide the regular expressions to check
15 (using "match").
16
17 This is useful if another plugin (maybe a FileGatherer) adds a bunch of
18 files, and you only want a subset of them.
19
20 In your dist.ini:
21
22 [PruneFiles]
23 filename = xt/release/pod-coverage.t ; pod coverage tests are for jerks
24 filename = todo-list.txt ; keep our secret plans to ourselves
25
26 match = ^test_data/
27 match = ^test.cvs$
28
30 This module should work on any version of perl still receiving updates
31 from the Perl 5 Porters. This means it should work on any version of
32 perl released in the last two to three years. (That is, if the most
33 recently released version is v5.40, then this module should work on
34 both v5.40 and v5.38.)
35
36 Although it may work on older versions of perl, no guarantee is made
37 that the minimum required version will not be increased. The version
38 may be increased for any reason, and there is no promise that patches
39 will be accepted to lower the minimum required perl.
40
42 filenames
43 This is an arrayref of filenames to be pruned from the distribution.
44
45 matches
46 This is an arrayref of regular expressions and files matching any of
47 them, will be pruned from the distribution.
48
50 Dist::Zilla plugins: PruneCruft, GatherDir, ManifestSkip.
51
53 Ricardo SIGNES 😏 <rjbs@semiotic.systems>
54
56 This software is copyright (c) 2021 by Ricardo SIGNES.
57
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60
61
62
63perl v5.34.0 2022-01-21Dist::Zilla::Plugin::PruneFiles(3)