| 1 | package Dist::Zilla::Role::ShareDir 6.040; | ||
| 2 | # ABSTRACT: something that picks a directory to install as shared files | ||
| 3 | |||
| 4 | 11 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 11 | with 'Dist::Zilla::Role::FileFinder'; | |
| 6 | |||
| 7 | 11 | ▶ | use Dist::Zilla::Pragmas; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 11 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | # Must return a hashref with any of the keys 'dist' and 'module'. The 'dist' | ||
| 12 | # must be a scalar with a directory to include and 'module' must be a hashref | ||
| 13 | # mapping module names to directories to include. If there are no directories | ||
| 14 | # to include, it must return undef. | ||
| 15 | 11 | requires 'share_dir_map'; | |
| 16 | |||
| 17 | 11 | 1; | |
| 18 | |||
| 19 | __END__ | ||