« lib/Dist/Zilla/App/Command/configure_CSJEWELL.pm
↑ Summary
lib/Dist/Zilla/Plugin/CSJEWELL/SubversionDist.pm »
| 1 | package Dist::Zilla::PluginBundle::CSJEWELL; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use 5.008003; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | with 'Dist::Zilla::Role::PluginBundle::Easy'; | |||||||||
| 6 | |||||||||||
| 7 | 1 | our $VERSION = '0.900'; | |||||||||
| 8 | 1 | $VERSION =~ s/_//sm; | |||||||||
| 9 | |||||||||||
| 10 | has fake_release => ( | ||||||||||
| 11 | is => 'ro', | ||||||||||
| 12 | isa => 'Bool', | ||||||||||
| 13 | lazy => 1, | ||||||||||
| 14 | 0 | ▶ | default => sub { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 15 | exists $_[0]->payload->{fake_release} | ||||||||||
| 16 | ? $_[0]->payload->{fake_release} | ||||||||||
| 17 | 0 | ▶ | : 1; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 18 | }, | ||||||||||
| 19 | 1 | ); | |||||||||
| 20 | |||||||||||
| 21 | 0 | ▶ | sub configure { | ||||||||
|
Subroutine
configure: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 22 | 0 | my ($self) = @_; | |||||||||
| 23 | |||||||||||
| 24 | 0 | my @plugins = qw( | |||||||||
| 25 | CSJEWELL::BeforeBuild | ||||||||||
| 26 | GatherDir | ||||||||||
| 27 | ManifestSkip | ||||||||||
| 28 | CSJEWELL::VersionGetter | ||||||||||
| 29 | CSJEWELL::AuthorTest | ||||||||||
| 30 | |||||||||||
| 31 | TestRelease | ||||||||||
| 32 | ConfirmRelease | ||||||||||
| 33 | ); | ||||||||||
| 34 | |||||||||||
| 35 | 0 | ▶ | push @plugins, | ||||||||
|
Branch: 1 branch
| |||||||||||
| 36 | ( $self->fake_release() ? 'FakeRelease' : 'UploadToCPAN' ); | ||||||||||
| 37 | |||||||||||
| 38 | 0 | $self->add_plugins(@plugins); | |||||||||
| 39 | |||||||||||
| 40 | 0 | return $self; | |||||||||
| 41 | } ## end sub configure | ||||||||||
| 42 | |||||||||||
| 43 | 1 | __PACKAGE__->meta()->make_immutable(); | |||||||||
| 44 | 1 | ▶ | no Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 45 | 1 | 1; | |||||||||
| 46 | |||||||||||
| 47 | __END__ | ||||||||||