Dist::Zilla::Role::ShareDir - something that picks a directory to install as shared files


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

Index


Code Index:

NAME

Top

Dist::Zilla::Role::ShareDir - something that picks a directory to install as shared files

VERSION

Top

version 4.200008

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

package Dist::Zilla::Role::ShareDir;
BEGIN {
  $Dist::Zilla::Role::ShareDir::VERSION = '4.200008';
}
# ABSTRACT: something that picks a directory to install as shared files
use Moose::Role;
with 'Dist::Zilla::Role::FileFinder';

# Must return a hashref with any of the keys 'dist' and 'module'.  The 'dist'
# must be a scalar with a directory to include and 'module' must be a hashref
# mapping module names to directories to include.  If there are no directories
# to include, it must return undef.
requires 'share_dir_map';

1;

__END__