JT Smith
and 1 contributors

NAME

Dist::Zilla::Plugin::MetaNoIndex - Stop CPAN from indexing stuff

VERSION

version 0.0300

SYNOPSIS

In your dist.ini:

 [MetaNoIndex]
 directory = author.t
 directory = examples
 file = lib/Foo.pm
 package = My::Module
 namespace = My::Module

DESCRIPTION

This plugin allows you to prevent PAUSE/CPAN from indexing files you don't want indexed. This is useful if you build test classes or example classes that are used for those purposes only, and are not part of the distribution. It does this by adding a no_index block to your META.yml file in your distribution.

The following directives are available.

directory

Exclude folders and everything in them. Example: author.t. Aliases: folder, dir.

file

Exclude a specific file. Example: lib/Foo.pm.

package

Exclude by package name. Example: My::Package. Aliases: class, module.

namespace

Exclude everything under a specific namespace. Example: My::Package.

NOTE: This will not exclude the package My::Package, only everything under it like My::Package::Foo.

SUPPORT

Repository

http://github.com/rizen/Dist-Zilla-Plugin-MetaNoIndex

Bug Reports

http://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-MetaNoIndex

SEE ALSO

Dist::Zilla

AUTHOR

JT Smith <jt_at_plainblack_com>

LEGAL

Dist::Zilla::Plugin::MetaNoIndex is Copyright 2010 Plain Black Corporation (http://www.plainblack.com/) and is licensed under the same terms as Perl itself.