1Dist::Zilla::Plugin::MeUtsaeNroICnodnetxr(i3b)uted PerlDDiosctu:m:eZnitlaltai:o:nPlugin::MetaNoIndex(3)
2
3
4
6 Dist::Zilla::Plugin::MetaNoIndex - Stop CPAN from indexing stuff
7
9 version 6.017
10
12 In your dist.ini:
13
14 [MetaNoIndex]
15
16 directory = t/author
17 directory = examples
18
19 file = lib/Foo.pm
20
21 package = My::Module
22
23 namespace = My::Module
24
26 This plugin allows you to prevent PAUSE/CPAN from indexing files you
27 don't want indexed. This is useful if you build test classes or example
28 classes that are used for those purposes only, and are not part of the
29 distribution. It does this by adding a "no_index" block to your
30 META.json (or META.yml) file in your distribution.
31
33 directories
34 Exclude folders and everything in them, for example: author.t
35
36 Aliases: "folder", "dir", "directory"
37
38 files
39 Exclude a specific file, for example: lib/Foo.pm
40
41 Alias: "file"
42
43 packages
44 Exclude by package name, for example: "My::Package"
45
46 Aliases: "class", "module", "package"
47
48 namespaces
49 Exclude everything under a specific namespace, for example:
50 "My::Package"
51
52 Alias: "namespace"
53
54 NOTE: This will not exclude the package "My::Package", only everything
55 under it like "My::Package::Foo".
56
58 metadata
59 Returns a reference to a hash containing the distribution's no_index
60 metadata.
61
63 Dist::Zilla roles: MetaProvider.
64
66 Ricardo SIGNES 😏 <rjbs@cpan.org>
67
69 This software is copyright (c) 2020 by Ricardo SIGNES.
70
71 This is free software; you can redistribute it and/or modify it under
72 the same terms as the Perl 5 programming language system itself.
73
74
75
76perl v5.32.1 2021-01-27Dist::Zilla::Plugin::MetaNoIndex(3)