« Dist/Zilla/PluginBundle/Author/ZMUGHAL/OrbitalTransfer.pm
↑ Summary
Pod/Weaver/PluginBundle/Author/ZMUGHAL/ProjectRenard.pm »
| 1 | package Dist::Zilla::PluginBundle::Author::ZMUGHAL::ProjectRenard; | ||
| 2 | # ABSTRACT: A plugin bundle for Project Renard | ||
| 3 | $Dist::Zilla::PluginBundle::Author::ZMUGHAL::ProjectRenard::VERSION = '0.006'; | ||
| 4 | use Moose; | ||
| 5 | with qw( | ||
| 6 | Dist::Zilla::Role::PluginBundle::Easy | ||
| 7 | Dist::Zilla::Role::PluginBundle::Config::Slicer ), | ||
| 8 | 'Dist::Zilla::Role::PluginBundle::PluginRemover' => { -version => '0.103' }, | ||
| 9 | ; | ||
| 10 | |||
| 11 | # Dependencies | ||
| 12 | use Test::Perl::Critic (); | ||
| 13 | use Perl::Critic::Policy::CodeLayout::TabIndentSpaceAlign (); | ||
| 14 | use App::scan_prereqs_cpanfile (); | ||
| 15 | use Test::Pod::Coverage (); | ||
| 16 | use Pod::Coverage (); | ||
| 17 | use Pod::Coverage::TrustPod (); | ||
| 18 | use Pod::Weaver::Section::Extends (); | ||
| 19 | use Pod::Weaver::Section::Consumes (); | ||
| 20 | use Pod::Elemental::Transformer::List (); | ||
| 21 | |||
| 22 | use Dist::Zilla::Plugin::RunExtraTests (); | ||
| 23 | use Dist::Zilla::Plugin::PodWeaver (); | ||
| 24 | |||
| 25 | use Dist::Zilla::Plugin::Test::Perl::Critic (); | ||
| 26 | use Dist::Zilla::Plugin::Test::PodSpelling (); | ||
| 27 | use Dist::Zilla::Plugin::PodCoverageTests (); | ||
| 28 | |||
| 29 | sub configure { | ||
| 30 | my $self = shift; | ||
| 31 | |||
| 32 | $self->add_bundle('Filter', { | ||
| 33 | '-bundle' => '@Author::ZMUGHAL::Basic', | ||
| 34 | '-remove' => [ 'PodWeaver' ], | ||
| 35 | }); | ||
| 36 | |||
| 37 | # ; run the xt/ tests | ||
| 38 | $self->add_plugins( qw( RunExtraTests) ); | ||
| 39 | |||
| 40 | $self->add_plugins([ | ||
| 41 | 'PodWeaver' => [ | ||
| 42 | config_plugin => '@Author::ZMUGHAL::ProjectRenard', | ||
| 43 | ], | ||
| 44 | ]); | ||
| 45 | |||
| 46 | $self->add_plugins(qw( | ||
| 47 | Test::Perl::Critic | ||
| 48 | Test::PodSpelling | ||
| 49 | PodCoverageTests | ||
| 50 | )); | ||
| 51 | } | ||
| 52 | |||
| 53 | __PACKAGE__->meta->make_immutable; | ||
| 54 | 1; | ||
| 55 | |||
| 56 | __END__ |