| 1 | package Dist::Zilla::PluginBundle::Author::BBYRD; | ||||||||||||||||||||
| 2 | |||||||||||||||||||||
| 3 | 1 | our $AUTHORITY = 'cpan:BBYRD'; # AUTHORITY | |||||||||||||||||||
| 4 | 1 | our $VERSION = '1.06'; # VERSION | |||||||||||||||||||
| 5 | # ABSTRACT: DZIL Author Bundle for BBYRD | ||||||||||||||||||||
| 6 | |||||||||||||||||||||
| 7 | 1 | ▶ | use Moose; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | 1 | ▶ | use sanity; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 10 | |||||||||||||||||||||
| 11 | 1 | with 'Dist::Zilla::Role::PluginBundle::Merged' => { | |||||||||||||||||||
| 12 | mv_plugins => [ qw( | ||||||||||||||||||||
| 13 | Git::GatherDir OurPkgVersion PodWeaver Test::ReportPrereqs @TestingMania | ||||||||||||||||||||
| 14 | PruneCruft @Prereqs CheckPrereqsIndexed MetaNoIndex CopyFilesFromBuild | ||||||||||||||||||||
| 15 | Git::CheckFor::CorrectBranch @Git TravisYML Test::EOL | ||||||||||||||||||||
| 16 | ) ], | ||||||||||||||||||||
| 17 | }; | ||||||||||||||||||||
| 18 | 1 | with 'Dist::Zilla::Role::PluginBundle::PluginRemover'; | |||||||||||||||||||
| 19 | 1 | with 'Dist::Zilla::Role::BundleDeps'; | |||||||||||||||||||
| 20 | |||||||||||||||||||||
| 21 | 0 | ▶ | sub configure { | ||||||||||||||||||
|
Subroutine
configure: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||||||||||||
| 22 | 0 | my $self = shift; | |||||||||||||||||||
| 23 | $self->add_merged( | ||||||||||||||||||||
| 24 | # [ReportPhase] | ||||||||||||||||||||
| 25 | # | ||||||||||||||||||||
| 26 | # ; Makefile.PL maker | ||||||||||||||||||||
| 27 | # [MakeMaker] | ||||||||||||||||||||
| 28 | # | ||||||||||||||||||||
| 29 | qw( ReportPhase MakeMaker ), | ||||||||||||||||||||
| 30 | |||||||||||||||||||||
| 31 | # [Authority] | ||||||||||||||||||||
| 32 | # authority = cpan:BBYRD | ||||||||||||||||||||
| 33 | # locate_comment = 1 | ||||||||||||||||||||
| 34 | [Authority => { | ||||||||||||||||||||
| 35 | authority => 'cpan:BBYRD', | ||||||||||||||||||||
| 36 | locate_comment => 1, | ||||||||||||||||||||
| 37 | }], | ||||||||||||||||||||
| 38 | |||||||||||||||||||||
| 39 | # [Git::NextVersion] | ||||||||||||||||||||
| 40 | # first_version = 0.90 | ||||||||||||||||||||
| 41 | $self->config_short_merge('Git::NextVersion', { first_version => '0.90' }), | ||||||||||||||||||||
| 42 | |||||||||||||||||||||
| 43 | # | ||||||||||||||||||||
| 44 | # [Git::GatherDir] | ||||||||||||||||||||
| 45 | # | ||||||||||||||||||||
| 46 | # ; File modifiers | ||||||||||||||||||||
| 47 | # [OurPkgVersion] | ||||||||||||||||||||
| 48 | qw( Git::GatherDir OurPkgVersion ), | ||||||||||||||||||||
| 49 | |||||||||||||||||||||
| 50 | # [PodWeaver] | ||||||||||||||||||||
| 51 | # config_plugin = @Author::BBYRD | ||||||||||||||||||||
| 52 | $self->config_short_merge('PodWeaver', { config_plugin => '@Author::BBYRD' }), | ||||||||||||||||||||
| 53 | |||||||||||||||||||||
| 54 | # | ||||||||||||||||||||
| 55 | # ; File pruners | ||||||||||||||||||||
| 56 | # [PruneCruft] | ||||||||||||||||||||
| 57 | # | ||||||||||||||||||||
| 58 | # ; Extra file creation | ||||||||||||||||||||
| 59 | # [ChangelogFromGit::CPAN::Changes] | ||||||||||||||||||||
| 60 | # file_name = CHANGES | ||||||||||||||||||||
| 61 | # copy_to_root = 0 | ||||||||||||||||||||
| 62 | $self->config_short_merge('ChangelogFromGit::CPAN::Changes' => { | ||||||||||||||||||||
| 63 | file_name => 'CHANGES', | ||||||||||||||||||||
| 64 | copy_to_root => 0, | ||||||||||||||||||||
| 65 | }), | ||||||||||||||||||||
| 66 | |||||||||||||||||||||
| 67 | # | ||||||||||||||||||||
| 68 | # [ManifestSkip] | ||||||||||||||||||||
| 69 | # [Manifest] | ||||||||||||||||||||
| 70 | # [License] | ||||||||||||||||||||
| 71 | qw( PruneCruft ManifestSkip Manifest License ), | ||||||||||||||||||||
| 72 | |||||||||||||||||||||
| 73 | # [ReadmeAnyFromPod / ReadmePodInRoot] ; Pod README for Root (for GitHub, etc.) | ||||||||||||||||||||
| 74 | # [ReadmeAnyFromPod / ReadmeTextInBuild] ; Text README for Build | ||||||||||||||||||||
| 75 | # [ReadmeAnyFromPod / ReadmeHTMLInBuild] ; HTML README for Build (never POD, so it doesn't get installed) | ||||||||||||||||||||
| 76 | [ReadmeAnyFromPod => ReadmePodInRoot => {}], | ||||||||||||||||||||
| 77 | [ReadmeAnyFromPod => ReadmeTextInBuild => {}], | ||||||||||||||||||||
| 78 | [ReadmeAnyFromPod => ReadmeHTMLInBuild => {}], | ||||||||||||||||||||
| 79 | |||||||||||||||||||||
| 80 | # | ||||||||||||||||||||
| 81 | # [InstallGuide] | ||||||||||||||||||||
| 82 | # [ExecDir] | ||||||||||||||||||||
| 83 | qw( InstallGuide ExecDir ), | ||||||||||||||||||||
| 84 | |||||||||||||||||||||
| 85 | # | ||||||||||||||||||||
| 86 | # ; Many tests | ||||||||||||||||||||
| 87 | # [@TestingMania] | ||||||||||||||||||||
| 88 | # disable = Test::Perl::Critic | ||||||||||||||||||||
| 89 | # disable = Test::EOL | ||||||||||||||||||||
| 90 | # disable = Test::Kwalitee | ||||||||||||||||||||
| 91 | # disable = Test::Pod::LinkCheck | ||||||||||||||||||||
| 92 | # disable = MetaTests | ||||||||||||||||||||
| 93 | # changelog = CHANGES | ||||||||||||||||||||
| 94 | $self->config_short_merge('@TestingMania' => { | ||||||||||||||||||||
| 95 | disable => [ | ||||||||||||||||||||
| 96 | 0 | (map { 'Test::'.$_ } qw( Perl::Critic EOL Kwalitee Pod::LinkCheck )), | |||||||||||||||||||
| 97 | qw( MetaTests ), | ||||||||||||||||||||
| 98 | ], | ||||||||||||||||||||
| 99 | changelog => 'CHANGES' | ||||||||||||||||||||
| 100 | }), | ||||||||||||||||||||
| 101 | |||||||||||||||||||||
| 102 | # | ||||||||||||||||||||
| 103 | # ; POD tests | ||||||||||||||||||||
| 104 | # ;[Test::PodSpelling] ; Win32 install problems | ||||||||||||||||||||
| 105 | # | ||||||||||||||||||||
| 106 | # ; Other xt/* tests | ||||||||||||||||||||
| 107 | # [RunExtraTests] | ||||||||||||||||||||
| 108 | # ;[MetaTests] ; until Test::CPAN::Meta supports 2.0 | ||||||||||||||||||||
| 109 | qw( RunExtraTests ), | ||||||||||||||||||||
| 110 | |||||||||||||||||||||
| 111 | # [Test::EOL] | ||||||||||||||||||||
| 112 | # trailing_whitespace = 0 | ||||||||||||||||||||
| 113 | $self->config_short_merge('Test::EOL', { trailing_whitespace => 0 }), | ||||||||||||||||||||
| 114 | |||||||||||||||||||||
| 115 | # [Test::CheckDeps] | ||||||||||||||||||||
| 116 | # ;[Test::Pod::LinkCheck] ; Both of these are borked... | ||||||||||||||||||||
| 117 | # ;[Test::Pod::No404s] ; ...I really need to create my own | ||||||||||||||||||||
| 118 | # [Test::ReportPrereqs] | ||||||||||||||||||||
| 119 | # [Test::CheckManifest] | ||||||||||||||||||||
| 120 | 0 | (map { 'Test::'.$_ } qw(CheckDeps ReportPrereqs CheckManifest)), | |||||||||||||||||||
| 121 | |||||||||||||||||||||
| 122 | # | ||||||||||||||||||||
| 123 | # ; Prereqs | ||||||||||||||||||||
| 124 | # [@Prereqs] | ||||||||||||||||||||
| 125 | # minimum_perl = 5.10.1 | ||||||||||||||||||||
| 126 | $self->config_short_merge('@Prereqs', { minimum_perl => '5.10.1' }), | ||||||||||||||||||||
| 127 | |||||||||||||||||||||
| 128 | # | ||||||||||||||||||||
| 129 | # [CheckPrereqsIndexed] | ||||||||||||||||||||
| 130 | # | ||||||||||||||||||||
| 131 | # ; META maintenance | ||||||||||||||||||||
| 132 | # [MetaConfig] | ||||||||||||||||||||
| 133 | # [MetaJSON] | ||||||||||||||||||||
| 134 | # [MetaYAML] | ||||||||||||||||||||
| 135 | qw( CheckPrereqsIndexed MetaConfig MetaJSON MetaYAML ), | ||||||||||||||||||||
| 136 | |||||||||||||||||||||
| 137 | # | ||||||||||||||||||||
| 138 | # [MetaNoIndex] | ||||||||||||||||||||
| 139 | # directory = t | ||||||||||||||||||||
| 140 | # directory = xt | ||||||||||||||||||||
| 141 | # directory = examples | ||||||||||||||||||||
| 142 | # directory = corpus | ||||||||||||||||||||
| 143 | $self->config_short_merge('MetaNoIndex', { directory => [qw(t xt examples corpus)] }), | ||||||||||||||||||||
| 144 | |||||||||||||||||||||
| 145 | # | ||||||||||||||||||||
| 146 | # [MetaProvides::Package] | ||||||||||||||||||||
| 147 | # meta_noindex = 1 ; respect prior no_index directives | ||||||||||||||||||||
| 148 | $self->config_short_merge('MetaProvides::Package', { meta_noindex => 1 }), | ||||||||||||||||||||
| 149 | |||||||||||||||||||||
| 150 | # | ||||||||||||||||||||
| 151 | # [GithubMeta] | ||||||||||||||||||||
| 152 | # issues = 1 | ||||||||||||||||||||
| 153 | # user = SineSwiper | ||||||||||||||||||||
| 154 | [GithubMeta => { | ||||||||||||||||||||
| 155 | issues => 1, | ||||||||||||||||||||
| 156 | user => 'SineSwiper', | ||||||||||||||||||||
| 157 | }], | ||||||||||||||||||||
| 158 | |||||||||||||||||||||
| 159 | # | ||||||||||||||||||||
| 160 | # [ContributorsFromGit] | ||||||||||||||||||||
| 161 | 'ContributorsFromGit', | ||||||||||||||||||||
| 162 | ); | ||||||||||||||||||||
| 163 | |||||||||||||||||||||
| 164 | # Handle $resources->{x_IRC} | ||||||||||||||||||||
| 165 | 0 | ▶ | my $x_IRC = $self->payload->{x_IRC} || $self->payload->{x_irc}; | ||||||||||||||||||
|
Condition0%0/3
$self->payload->{'x_IRC'} || $self->payload->{'x_irc'}
MC/DC0%0/2
$self->payload->{'x_IRC'} || $self->payload->{'x_irc'}
$self->payload->{'x_IRC'}
$self->payload->{'x_irc'}
Truth table0%0/3
A || B
A= $self->payload->{'x_IRC'}B= $self->payload->{'x_irc'}
| |||||||||||||||||||||
| 166 | 0 | ▶ | $self->add_merged( | ||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||
| 167 | # | ||||||||||||||||||||
| 168 | # [MetaResources] ; only loaded if needed | ||||||||||||||||||||
| 169 | # x_IRC = $x_IRC | ||||||||||||||||||||
| 170 | |||||||||||||||||||||
| 171 | [MetaResources => { | ||||||||||||||||||||
| 172 | x_IRC => $x_IRC, | ||||||||||||||||||||
| 173 | }], | ||||||||||||||||||||
| 174 | ) if $x_IRC; | ||||||||||||||||||||
| 175 | |||||||||||||||||||||
| 176 | 0 | $self->add_merged( | |||||||||||||||||||
| 177 | # | ||||||||||||||||||||
| 178 | # ; Post-build plugins | ||||||||||||||||||||
| 179 | # [CopyFilesFromBuild] | ||||||||||||||||||||
| 180 | # move = .gitignore | ||||||||||||||||||||
| 181 | # move = README.pod | ||||||||||||||||||||
| 182 | $self->config_short_merge('CopyFilesFromBuild', { | ||||||||||||||||||||
| 183 | move => [qw(.gitignore README.pod)], | ||||||||||||||||||||
| 184 | }), | ||||||||||||||||||||
| 185 | |||||||||||||||||||||
| 186 | # | ||||||||||||||||||||
| 187 | # ; Post-build Git plugins | ||||||||||||||||||||
| 188 | # [TravisYML] | ||||||||||||||||||||
| 189 | # notify_email = 0 | ||||||||||||||||||||
| 190 | # notify_irc = irc://irc.perl.org/#sanity | ||||||||||||||||||||
| 191 | # ; used for Travis::TestRelease | ||||||||||||||||||||
| 192 | # support_builddir = 1 | ||||||||||||||||||||
| 193 | # ; keep sanity from balking at these | ||||||||||||||||||||
| 194 | # post_before_install_build = cpanm --quiet --notest --skip-satisfied autovivification indirect multidimensional | ||||||||||||||||||||
| 195 | $self->config_short_merge('TravisYML', { | ||||||||||||||||||||
| 196 | notify_email => 0, | ||||||||||||||||||||
| 197 | notify_irc => 'irc://irc.perl.org/#sanity', | ||||||||||||||||||||
| 198 | support_builddir => 1, | ||||||||||||||||||||
| 199 | post_before_install_build => 'cpanm --quiet --notest --skip-satisfied autovivification indirect multidimensional', | ||||||||||||||||||||
| 200 | }), | ||||||||||||||||||||
| 201 | |||||||||||||||||||||
| 202 | # | ||||||||||||||||||||
| 203 | # [Git::CheckFor::CorrectBranch] | ||||||||||||||||||||
| 204 | 'Git::CheckFor::CorrectBranch', | ||||||||||||||||||||
| 205 | |||||||||||||||||||||
| 206 | # [Git::CommitBuild] | ||||||||||||||||||||
| 207 | # branch = | ||||||||||||||||||||
| 208 | # release_branch = build/%b | ||||||||||||||||||||
| 209 | # release_message = Release build of v%v (on %b) | ||||||||||||||||||||
| 210 | $self->config_short_merge('Git::CommitBuild', { | ||||||||||||||||||||
| 211 | branch => '', | ||||||||||||||||||||
| 212 | release_branch => 'build/%b', | ||||||||||||||||||||
| 213 | release_message => 'Release build of v%v (on %b)', | ||||||||||||||||||||
| 214 | }), | ||||||||||||||||||||
| 215 | |||||||||||||||||||||
| 216 | # | ||||||||||||||||||||
| 217 | # [@Git] | ||||||||||||||||||||
| 218 | # allow_dirty = dist.ini | ||||||||||||||||||||
| 219 | # allow_dirty = .travis.yml | ||||||||||||||||||||
| 220 | # allow_dirty = README.pod | ||||||||||||||||||||
| 221 | # changelog = | ||||||||||||||||||||
| 222 | # commit_msg = Release v%v | ||||||||||||||||||||
| 223 | # push_to = origin master:master | ||||||||||||||||||||
| 224 | # push_to = origin build/master:build/master | ||||||||||||||||||||
| 225 | $self->config_short_merge('@Git', { | ||||||||||||||||||||
| 226 | allow_dirty => [qw(dist.ini .travis.yml README.pod)], | ||||||||||||||||||||
| 227 | changelog => '', | ||||||||||||||||||||
| 228 | commit_msg => 'Release v%v', | ||||||||||||||||||||
| 229 | push_to => ['origin master:master', 'origin build/master:build/master'], | ||||||||||||||||||||
| 230 | }), | ||||||||||||||||||||
| 231 | |||||||||||||||||||||
| 232 | # | ||||||||||||||||||||
| 233 | # [GitHub::Update] | ||||||||||||||||||||
| 234 | # metacpan = 1 | ||||||||||||||||||||
| 235 | $self->config_short_merge('GitHub::Update', { metacpan => 1 }), | ||||||||||||||||||||
| 236 | |||||||||||||||||||||
| 237 | # | ||||||||||||||||||||
| 238 | # [TestRelease] | ||||||||||||||||||||
| 239 | 'TestRelease', | ||||||||||||||||||||
| 240 | |||||||||||||||||||||
| 241 | # [Travis::TestRelease] | ||||||||||||||||||||
| 242 | # create_builddir = 1 | ||||||||||||||||||||
| 243 | $self->config_short_merge('Travis::TestRelease', { | ||||||||||||||||||||
| 244 | create_builddir => 1, | ||||||||||||||||||||
| 245 | open_status_url => 1, | ||||||||||||||||||||
| 246 | }), | ||||||||||||||||||||
| 247 | |||||||||||||||||||||
| 248 | # [ConfirmRelease] | ||||||||||||||||||||
| 249 | # [UploadToCPAN] | ||||||||||||||||||||
| 250 | # [InstallRelease] | ||||||||||||||||||||
| 251 | # [Clean] | ||||||||||||||||||||
| 252 | qw( ConfirmRelease UploadToCPAN InstallRelease Clean ), | ||||||||||||||||||||
| 253 | ); | ||||||||||||||||||||
| 254 | } | ||||||||||||||||||||
| 255 | |||||||||||||||||||||
| 256 | 1 | 42; | |||||||||||||||||||
| 257 | |||||||||||||||||||||
| 258 | __END__ | ||||||||||||||||||||