Codebase list libdist-zilla-plugin-ourpkgversion-perl / e0ea933
use :PerlExecFiles filefinder whenever possible Stephan Loyd 6 years ago
1 changed file(s) with 16 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
88 with (
99 'Dist::Zilla::Role::FileMunger',
1010 'Dist::Zilla::Role::FileFinderUser' => {
11 default_finders => [ ':InstallModules', ':ExecFiles' ],
11 default_finders => [
12 ':InstallModules',
13 (
14 eval { Dist::Zilla::Dist::Builder->VERSION('5.038'); 1 }
15 ? ':PerlExecFiles'
16 : ':ExecFiles'
17 )
18 ],
1219 },
1320 'Dist::Zilla::Role::PPI',
1421 );
215222
216223 tells which files to munge, see L<Dist::Zilla::Role::FileMunger>
217224
225 =item finder
226
227 Override the default L<FileFinder|Dist::Zilla::Role::FileFinder> for
228 finding files to check and update. The default value is C<:InstallModules>
229 and C<:PerlExecFiles> (when available; otherwise C<:ExecFiles>)
230 -- see also L<Dist::Zilla::Plugin::ExecDir>, to make sure the script
231 files are properly marked as executables for the installer.
232
218233 =back
219234
220235 =cut