File: Near_Empty.pm

package info (click to toggle)
libdist-zilla-config-slicer-perl 0.202-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 276 kB
  • sloc: perl: 299; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package # no_index
  Dist::Zilla::PluginBundle::Near_Empty;
use Moose;
with qw(
  Dist::Zilla::Role::PluginBundle
);

use Dist::Zilla::Util;
sub e { Dist::Zilla::Util->expand_config_package_name($_[0]); }

sub bundle_config {
  my $name = $_[1]->{name};
  return (
    ["$name/Test::Compile"  => e('Test::Compile') => {fake_home => 1}],
    ["$name/MetaNoIndex"    => e('MetaNoIndex')   => { file => ['.secret'], directory => [qw(t xt inc)] }],
    ["$name/Scan4Prereqs"   => e('AutoPrereqs')   => { skip => $_[1]->{payload}->{prereq_skip} }],
  );
}

__PACKAGE__->meta->make_immutable;
1;