| 1 | package Module::Setup::Plugin::VC::SVN; | ||||||||||
| 2 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 3 | ▶ | use base 'Module::Setup::Plugin'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 3 | ▶ | use Module::Setup::Path::Dir; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | sub register { | ||||||||||
| 9 | 3 | ▶ | my($self, ) = @_; | ||||||||
|
Subroutine
register: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 10 | 3 | $self->add_trigger( after_setup_module_attribute => \&after_setup_module_attribute ); | |||||||||
| 11 | } | ||||||||||
| 12 | |||||||||||
| 13 | sub after_setup_module_attribute { | ||||||||||
| 14 | 7 | ▶ | my $self = shift; | ||||||||
|
Subroutine
after_setup_module_attribute: called CC=3 SCAR=11.0
Pod
documented
| |||||||||||
| 15 | 7 | ▶ | if ($self->dialog("Subversion friendly? [Yn] ", 'y') =~ /[Yy]/) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 2 | $self->distribute->dist_path->subdir($_)->mkpath for (qw/ trunk tags branches /); | |||||||||
| 17 | 2 | $self->distribute->{dist_path} = Module::Setup::Path::Dir->new($self->distribute->dist_path, 'trunk'); | |||||||||
| 18 | 2 | $self->plugins_stash->{'VC::SVN'} = +{ | |||||||||
| 19 | is_subversion_friendly => 1, | ||||||||||
| 20 | }; | ||||||||||
| 21 | } | ||||||||||
| 22 | } | ||||||||||
| 23 | |||||||||||
| 24 | 3 | 1; | |||||||||