line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Setup::Flavor::GitHub; |
2
|
1
|
|
|
1
|
|
9
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
100
|
|
3
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
42
|
|
4
|
1
|
|
|
1
|
|
6
|
use base 'Module::Setup::Flavor'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
735
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub loader { |
7
|
1
|
|
|
1
|
0
|
2
|
my $self = shift; |
8
|
1
|
|
|
|
|
7
|
$self->import_template('Module::Setup::Flavor::Default'); |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub setup_config { |
12
|
1
|
|
|
1
|
1
|
4
|
my($self, $context, $config) = @_; |
13
|
1
|
|
|
|
|
3
|
push @{ $config->{plugins} }, 'VC::Git', 'Site::GitHub'; |
|
1
|
|
|
|
|
7
|
|
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Module::Setup::Flavor::GutHub - GitHub flavor |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 SYNOPSIS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
$ module-setup --init --flavor-class=GitHub new_flavor |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=cut |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__DATA__ |