| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | package Dist::Zilla::PluginBundle::Author::NMBOOKER; | ||
| 4 | |||
| 5 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | with 'Dist::Zilla::Role::PluginBundle::Easy'; | |
| 7 | |||
| 8 | 1 | our $VERSION = '0.001'; | |
| 9 | |||
| 10 | 1 | ▶ | use Dist::Zilla::PluginBundle::Basic; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use Dist::Zilla::PluginBundle::Filter; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | ▶ | use Dist::Zilla::PluginBundle::Git; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 0 | ▶ | sub configure { |
|
Subroutine
configure: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | my ($self) = @_; | |
| 16 | |||
| 17 | 0 | $self->add_plugins(qw( | |
| 18 | Git::GatherDir | ||
| 19 | Prereqs::FromCPANfile | ||
| 20 | )); | ||
| 21 | 0 | $self->add_bundle('@Filter', { | |
| 22 | '-bundle' => '@Basic', | ||
| 23 | '-remove' => [ 'GatherDir', 'TestRelease', ], | ||
| 24 | }); | ||
| 25 | |||
| 26 | 0 | $self->add_plugins(qw( | |
| 27 | AutoPrereqs | ||
| 28 | ReadmeFromPod | ||
| 29 | MetaConfig | ||
| 30 | MetaJSON | ||
| 31 | PodSyntaxTests | ||
| 32 | Test::Compile | ||
| 33 | Test::ReportPrereqs | ||
| 34 | CheckChangesHasContent | ||
| 35 | RewriteVersion | ||
| 36 | NextRelease | ||
| 37 | Repository | ||
| 38 | ), | ||
| 39 | [ Encoding => | ||
| 40 | CommonBinaryFiles => { | ||
| 41 | match => '\.(png|jpg|db)$', | ||
| 42 | encoding => 'bytes' | ||
| 43 | } ], | ||
| 44 | # Don't try to weave scripts. They have their own POD. | ||
| 45 | [ PodWeaver => { finder => ':InstallModules' } ], | ||
| 46 | [ 'Git::Commit' => | ||
| 47 | CommitGeneratedFiles => { | ||
| 48 | allow_dirty => [ qw/dist.ini Changes cpanfile LICENSE/ ] | ||
| 49 | } ], | ||
| 50 | 'ExecDir', | ||
| 51 | [ ExecDir => | ||
| 52 | ScriptDir => { dir => 'script' } | ||
| 53 | ], | ||
| 54 | qw( | ||
| 55 | Git::Tag | ||
| 56 | BumpVersionAfterRelease | ||
| 57 | ), | ||
| 58 | ['Git::Commit' => | ||
| 59 | CommitVersionBump => { allow_dirty_match => '^lib/', commit_msg => "Bumped version number" } ], | ||
| 60 | 'Git::Push', | ||
| 61 | [ Prereqs => 'TestMoreWithSubtests' => { | ||
| 62 | -phase => 'test', | ||
| 63 | -type => 'requires', | ||
| 64 | 'Test::More' => '0.96' | ||
| 65 | } ], | ||
| 66 | ); | ||
| 67 | } | ||
| 68 | |||
| 69 | 1 | __PACKAGE__->meta->make_immutable; | |
| 70 | 1 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 71 | |||
| 72 | |||
| 73 | 1 | 1; | |
| 74 | |||
| 75 | __END__ | ||