The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dist::Zilla::Plugin::GatherFromManifest - gather all files from MANIFEST

VERSION

version 1.004

SYNOPSIS

    [GatherFromManifest]

DESCRIPTION

This is a FileGathererplugin, which allows you to implicitly specify which files should be built into distibution.

This module offers a different approach to default Dist::Zilla::Plugin::GatherDir which adds ALL files to distribution and Dist::Zilla::Plugin::ManifestSkip which prunes files listed in MANIFEST.SKIP.

You should replace [GatherDir] with [GatherFromManifest] and make sure you have a MANIFEST file. It's quite useful if you're converting existing package to Dist::Zilla.

If you plan to use [License], [Readme] or any other module producing autogenerated files, you should remove corresponding file names from MANIFEST to avoid duplication errors.

ATTRIBUTES

root

This is the directory in which to look for files. If not given, it defaults to the dist root -- generally, the place where your dist.ini or other configuration file is located.

prefix

This parameter can be set to gather all the files found under a common directory. See the description block in GatherDir documentation for an example.

SUBROUTINES/METHODS

gather_files

Overridden method implementing gathering functionality.

AUTHOR

Serguei Trouchelle <stro@cpan.org>

Some parts of code is borrowed from Dist::Zilla::Plugin::GatherDir and Dist::Zilla::Plugin::ManifestSkip written by Ricardo SIGNES <rjbs@cpan.org>

LICENSE AND COPYRIGHT

Copyright (c) 2010-2018 by Serguei Trouchelle

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.