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.014
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 filenames
31 This is an arrayref of filenames to be pruned from the distribution.
32
33 matches
34 This is an arrayref of regular expressions and files matching any of
35 them, will be pruned from the distribution.
36
38 Dist::Zilla plugins: PruneCruft, GatherDir, ManifestSkip.
39
41 Ricardo SIGNES 😏 <rjbs@cpan.org>
42
44 This software is copyright (c) 2020 by Ricardo SIGNES.
45
46 This is free software; you can redistribute it and/or modify it under
47 the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.30.1 2020-03-03Dist::Zilla::Plugin::PruneFiles(3)