| 1 | package Dist::Zilla::PluginBundle::PDONELAN; | ||
| 2 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | $Dist::Zilla::PluginBundle::PDONELAN::VERSION = '1.201'; | |
| 4 | } | ||
| 5 | |||
| 6 | # ABSTRACT: Dist::Zilla pre-wired for PDONELAN | ||
| 7 | |||
| 8 | |||
| 9 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | with 'Dist::Zilla::Role::PluginBundle::Easy'; | ||
| 11 | |||
| 12 | # Explicitly list other PluginBundles as dependencies | ||
| 13 | 1 | ▶ | use Dist::Zilla::PluginBundle::Basic; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 1 | ▶ | use Dist::Zilla::PluginBundle::Git; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | # Explicitly list out all plugins not covered by the above PluginBundles as dependencies | ||
| 17 | 1 | ▶ | use Dist::Zilla::Plugin::MetaJSON; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | use Dist::Zilla::Plugin::ReadmeFromPod; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 1 | ▶ | use Dist::Zilla::Plugin::EOLTests; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 1 | ▶ | use Dist::Zilla::Plugin::PodCoverageTests; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 1 | ▶ | use Dist::Zilla::Plugin::PodSyntaxTests; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 1 | ▶ | use Dist::Zilla::Plugin::PortabilityTests; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 0 | ▶ | use Dist::Zilla::Plugin::CompileTests; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 24 | use Dist::Zilla::Plugin::PkgVersion; | ||
| 25 | use Dist::Zilla::Plugin::PodWeaver; | ||
| 26 | use Dist::Zilla::Plugin::NextRelease; | ||
| 27 | use Dist::Zilla::Plugin::AutoPrereqs; | ||
| 28 | use Dist::Zilla::Plugin::MinimumPerl; | ||
| 29 | use Dist::Zilla::Plugin::Git::NextVersion; | ||
| 30 | use Dist::Zilla::Plugin::GithubMeta; | ||
| 31 | use Dist::Zilla::Plugin::MetaConfig; | ||
| 32 | use Dist::Zilla::Plugin::CheckChangeLog; | ||
| 33 | use Dist::Zilla::Plugin::CheckChangesHasContent; | ||
| 34 | use Dist::Zilla::Plugin::UpdateGitHub; | ||
| 35 | |||
| 36 | |||
| 37 | sub configure { | ||
| 38 | my ($self) = @_; | ||
| 39 | |||
| 40 | # Plugins are listed in terms of dzil phases | ||
| 41 | # See: L<Dist::Zilla::Dist::Builder::build_in> | ||
| 42 | |||
| 43 | # All non-bundle plugins listed should also have a corresponding | ||
| 44 | # "use Dist::Zilla::Plugin::X" line for dependency resolution | ||
| 45 | |||
| 46 | $self->add_plugins( | ||
| 47 | |||
| 48 | # FileGatherer | ||
| 49 | 'GatherDir', # @Basic | ||
| 50 | 'MetaYAML', # @Basic | ||
| 51 | 'ExecDir', # @Basic | ||
| 52 | 'ShareDir', # @Basic | ||
| 53 | 'License', # @Basic | ||
| 54 | 'MetaJSON', # @RJBS | ||
| 55 | 'ReadmeFromPod', # @AVAR | ||
| 56 | 'EOLTests', # @FLORA | ||
| 57 | 'PodCoverageTests', # @FLORA | ||
| 58 | 'PodSyntaxTests', # @RJBS | ||
| 59 | 'PortabilityTests', # @DAGOLDEN | ||
| 60 | 'CompileTests', # @MARCEL | ||
| 61 | 'Manifest', # @Basic This one wants to come last | ||
| 62 | |||
| 63 | # FilePruner | ||
| 64 | 'PruneCruft', # @Basic | ||
| 65 | 'ManifestSkip', # @Basic | ||
| 66 | |||
| 67 | # FileMunger | ||
| 68 | 'ExtraTests', # @Basic | ||
| 69 | 'PkgVersion', # @RJBS | ||
| 70 | 'PodWeaver', # @RJBS | ||
| 71 | 'NextRelease', # @RJBS | ||
| 72 | |||
| 73 | # PrereqSource | ||
| 74 | 'AutoPrereqs', # @RJBS | ||
| 75 | 'MinimumPerl', # @DAGOLDEN | ||
| 76 | |||
| 77 | # MetaProvider | ||
| 78 | 'Git::NextVersion', # V=1.000 dzil release, dzil release --trial | ||
| 79 | 'GithubMeta', # repository.{url, web, type}, homepage instead of 'MetaResources' or 'Repository' | ||
| 80 | [ | ||
| 81 | Bugtracker => # bugtracker.{web, mailto} instead of 'MetaResources' | ||
| 82 | { web => 'http://github.com/pdonelan/%s/issues' } | ||
| 83 | ], | ||
| 84 | |||
| 85 | 'MetaConfig', # @RJBS | ||
| 86 | |||
| 87 | # InstallTool | ||
| 88 | 'MakeMaker', # @Basic | ||
| 89 | 'CheckChangeLog', # @MARCEL | ||
| 90 | |||
| 91 | # BeforeRelease | ||
| 92 | 'CheckChangesHasContent', # @DAGOLDEN | ||
| 93 | 'TestRelease', # @Basic | ||
| 94 | 'ConfirmRelease', # @Basic | ||
| 95 | |||
| 96 | # Releaser | ||
| 97 | 'UploadToCPAN', # @Basic | ||
| 98 | 'UpdateGitHub', # @ROKR | ||
| 99 | ); | ||
| 100 | |||
| 101 | $self->add_bundle('Git'); # @RJBS | ||
| 102 | } | ||
| 103 | |||
| 104 | __PACKAGE__->meta->make_immutable; | ||
| 105 | no Moose; | ||
| 106 | |||
| 107 | 1; | ||
| 108 | |||
| 109 | __END__ | ||