« Dist/Zilla/PluginBundle/Author/ZMUGHAL/Basic.pm
↑ Summary
Dist/Zilla/PluginBundle/Author/ZMUGHAL/ProjectRenard.pm »
| 1 | package Dist::Zilla::PluginBundle::Author::ZMUGHAL::OrbitalTransfer; | ||
| 2 | # ABSTRACT: A plugin bundle for Orbital Transfer | ||
| 3 | $Dist::Zilla::PluginBundle::Author::ZMUGHAL::OrbitalTransfer::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 | use Dist::Zilla::Plugin::Babble (); | ||
| 12 | use Babble 0.090009 (); | ||
| 13 | use Dist::Zilla::Plugin::RunExtraTests (); | ||
| 14 | use Dist::Zilla::Plugin::Test::MinimumVersion (); | ||
| 15 | use Dist::Zilla::Plugin::Test::Perl::Critic (); | ||
| 16 | use Dist::Zilla::Plugin::Test::PodSpelling (); | ||
| 17 | use Dist::Zilla::Plugin::PodCoverageTests (); | ||
| 18 | |||
| 19 | sub configure { | ||
| 20 | my $self = shift; | ||
| 21 | |||
| 22 | $self->add_bundle('Filter', { | ||
| 23 | '-bundle' => '@Author::ZMUGHAL::Basic', | ||
| 24 | }); | ||
| 25 | |||
| 26 | $self->add_plugins( | ||
| 27 | ['Babble' => { | ||
| 28 | plugin => [ qw( | ||
| 29 | Dist::Zilla::PluginBundle::Author::ZMUGHAL::Babble::FunctionParameters | ||
| 30 | ::DefinedOr | ||
| 31 | ::SubstituteAndReturn | ||
| 32 | ::State | ||
| 33 | ::Ellipsis | ||
| 34 | ) ], | ||
| 35 | }], | ||
| 36 | ); | ||
| 37 | |||
| 38 | # ; run the xt/ tests | ||
| 39 | $self->add_plugins( qw( RunExtraTests) ); | ||
| 40 | |||
| 41 | # ; code must target at least 5.8.0 | ||
| 42 | $self->add_plugins( | ||
| 43 | ['Test::MinimumVersion' => { | ||
| 44 | max_target_perl => '5.8.0' | ||
| 45 | }], | ||
| 46 | ); | ||
| 47 | |||
| 48 | $self->add_plugins(qw( | ||
| 49 | Test::Perl::Critic | ||
| 50 | Test::PodSpelling | ||
| 51 | PodCoverageTests | ||
| 52 | )); | ||
| 53 | } | ||
| 54 | |||
| 55 | __PACKAGE__->meta->make_immutable; | ||
| 56 | 1; | ||
| 57 | |||
| 58 | __END__ |