File: Easy.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-- 571 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::Config::Slicer::Test::Bundle::Easy;
use Moose;
with qw(
  Dist::Zilla::Role::PluginBundle::Easy
  Dist::Zilla::Role::PluginBundle::Config::Slicer
);

sub configure {
  $_[0]->add_plugins(
    ['Test::Compile' => {fake_home => 1}],
    [MetaNoIndex     => { file => ['.secret'], directory => [qw(t xt inc)] }],
    # ::Easy takes these name/package in reverse order
    [AutoPrereqs     => 'Scan4Prereqs'],
    [PruneCruft      => 'GoodbyeGarbage'],
    [PruneCruft      => 'DontNeedThese'],
  );
}

__PACKAGE__->meta->make_immutable;
1;