| 1 | package Dist::Zilla::PluginBundle::Author::XENO; | ||||||||||
| 2 | 1 | ▶ | use 5.008; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | our $VERSION = '0.001007'; # VERSION | |||||||||
| 7 | |||||||||||
| 8 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 1 | with qw( | |||||||||
| 10 | Dist::Zilla::Role::PluginBundle::Easy | ||||||||||
| 11 | ); | ||||||||||
| 12 | |||||||||||
| 13 | 1 | has install => ( | |||||||||
| 14 | isa => 'Bool', | ||||||||||
| 15 | is => 'ro', | ||||||||||
| 16 | lazy => 1, | ||||||||||
| 17 | default => 1, | ||||||||||
| 18 | ); | ||||||||||
| 19 | |||||||||||
| 20 | 0 | ▶ | sub configure { | ||||||||
|
Subroutine
configure: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 21 | 0 | my $self = shift; | |||||||||
| 22 | |||||||||||
| 23 | 0 | my @plugins = ( | |||||||||
| 24 | [ NextRelease => { | ||||||||||
| 25 | format => '%-9v %{yyyy-MM-dd}d', | ||||||||||
| 26 | }, ], | ||||||||||
| 27 | [ MetaNoIndex => { | ||||||||||
| 28 | file => 'perlcritic.rc', | ||||||||||
| 29 | }, ], | ||||||||||
| 30 | [ PruneFiles => { | ||||||||||
| 31 | filenames => [ qw( dist.ini weaver.ini ) ], | ||||||||||
| 32 | }, ], | ||||||||||
| 33 | [ 'Git::NextVersion' => { | ||||||||||
| 34 | version_regexp => '^(.+)$', | ||||||||||
| 35 | first_version => 0.001000, | ||||||||||
| 36 | }, ], | ||||||||||
| 37 | [ AutoMetaResources => { | ||||||||||
| 38 | 'homepage' => 'https://metacpan.org/dist/%{dist}', | ||||||||||
| 39 | 'bugtracker.github' => 'user:xenoterracide', | ||||||||||
| 40 | 'repository.github' => 'user:xenoterracide', | ||||||||||
| 41 | }, ], qw( | ||||||||||
| 42 | AutoPrereqs | ||||||||||
| 43 | OurPkgVersion | ||||||||||
| 44 | PodWeaver | ||||||||||
| 45 | |||||||||||
| 46 | MetaProvides::Package | ||||||||||
| 47 | MetaJSON | ||||||||||
| 48 | |||||||||||
| 49 | RunExtraTests | ||||||||||
| 50 | PodCoverageTests | ||||||||||
| 51 | PodSyntaxTests | ||||||||||
| 52 | Test::ReportPrereqs | ||||||||||
| 53 | Test::Compile | ||||||||||
| 54 | Test::EOL | ||||||||||
| 55 | Test::Portability | ||||||||||
| 56 | Test::Perl::Critic | ||||||||||
| 57 | |||||||||||
| 58 | Test::UnusedVars | ||||||||||
| 59 | Test::CPAN::Meta::JSON | ||||||||||
| 60 | Test::DistManifest | ||||||||||
| 61 | Test::Version | ||||||||||
| 62 | Test::CPAN::Changes | ||||||||||
| 63 | Test::MinimumVersion | ||||||||||
| 64 | |||||||||||
| 65 | CheckChangesHasContent | ||||||||||
| 66 | Git::Remote::Check | ||||||||||
| 67 | Git::Contributors | ||||||||||
| 68 | |||||||||||
| 69 | ReadmeAnyFromPod | ||||||||||
| 70 | )); | ||||||||||
| 71 | |||||||||||
| 72 | 0 | ▶ | push @plugins, ( | ||||||||
|
Branch: 1 branch
| |||||||||||
| 73 | [ 'InstallRelease' => { install_command => "cpanm ." } ], | ||||||||||
| 74 | ) if $self->install; | ||||||||||
| 75 | |||||||||||
| 76 | # must be last | ||||||||||
| 77 | 0 | push @plugins, ('Clean'), | |||||||||
| 78 | |||||||||||
| 79 | $self->add_plugins( @plugins ); | ||||||||||
| 80 | 0 | return; | |||||||||
| 81 | } | ||||||||||
| 82 | |||||||||||
| 83 | 1 | 1; | |||||||||
| 84 | |||||||||||
| 85 | # ABSTRACT: Author Bundle for Caleb Cushing | ||||||||||
| 86 | |||||||||||
| 87 | __END__ | ||||||||||