line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
5
|
|
|
5
|
|
12252871
|
use strict; |
|
5
|
|
|
|
|
35
|
|
|
5
|
|
|
|
|
250
|
|
2
|
5
|
|
|
5
|
|
45
|
use warnings; |
|
5
|
|
|
|
|
22
|
|
|
5
|
|
|
|
|
494
|
|
3
|
|
|
|
|
|
|
package Dist::Zilla::MintingProfile::Author::TABULO; |
4
|
|
|
|
|
|
|
# vim: set ts=2 sts=2 sw=2 tw=115 et : |
5
|
|
|
|
|
|
|
# ABSTRACT: Mint distributions like TABULO does |
6
|
|
|
|
|
|
|
# BASED_ON: Dist::Zilla::MintingProfile::Author::ETHER |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.198'; |
9
|
|
|
|
|
|
|
# AUTHORITY |
10
|
|
|
|
|
|
|
|
11
|
5
|
|
|
5
|
|
666
|
use Moose; |
|
5
|
|
|
|
|
468590
|
|
|
5
|
|
|
|
|
41
|
|
12
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::MintingProfile' => { -version => '5.047' }; |
13
|
5
|
|
|
5
|
|
40854
|
use File::ShareDir; |
|
5
|
|
|
|
|
52255
|
|
|
5
|
|
|
|
|
251
|
|
14
|
5
|
|
|
5
|
|
814
|
use Path::Tiny; |
|
5
|
|
|
|
|
11971
|
|
|
5
|
|
|
|
|
243
|
|
15
|
5
|
|
|
5
|
|
39
|
use Carp; |
|
5
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
278
|
|
16
|
5
|
|
|
5
|
|
504
|
use namespace::autoclean; |
|
5
|
|
|
|
|
7792
|
|
|
5
|
|
|
|
|
56
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub profile_dir |
19
|
|
|
|
|
|
|
{ |
20
|
|
|
|
|
|
|
my ($self, $profile_name) = @_; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
die 'minting requires perl 5.014' unless "$]" >= 5.013002; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
my $dist_name = 'Dist-Zilla-PluginBundle-Author-TABULO'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
my $profile_dir = path(File::ShareDir::dist_dir($dist_name))->child('profiles', $profile_name); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
return $profile_dir if -d $profile_dir; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
confess "Can't find profile $profile_name via $self: it should be in $profile_dir"; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=pod |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=encoding UTF-8 |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 NAME |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Dist::Zilla::MintingProfile::Author::TABULO - Mint distributions like TABULO does |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 VERSION |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
version 0.198 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 SYNOPSIS |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
dzil new -P Author::TABULO -p github Foo::Bar |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
or: |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
#!/bin/bash |
56
|
|
|
|
|
|
|
newdist() { |
57
|
|
|
|
|
|
|
local dist=$1 |
58
|
|
|
|
|
|
|
local module=`perl -we"print q{$dist} =~ s/-/::/r"` |
59
|
|
|
|
|
|
|
pushd ~/git |
60
|
|
|
|
|
|
|
dzil new -P Author::TABULO -p github $module |
61
|
|
|
|
|
|
|
cd $dist |
62
|
|
|
|
|
|
|
} |
63
|
|
|
|
|
|
|
newdist Foo-Bar |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 DESCRIPTION |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
This is a minting profile used for TABULO's distributions. |
68
|
|
|
|
|
|
|
Like his dzil plugin-bundle, the starting point of this profile was ETHER's. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Since TABULO initially forked the whole thing from ETHER's, |
71
|
|
|
|
|
|
|
most of the documentation you see here actually come from her originally, ... |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Thank you ETHER! |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 WARNING |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Please note that, although this module needs to be on CPAN for obvious reasons, |
78
|
|
|
|
|
|
|
it is really intended to be a collection of personal preferences, which are |
79
|
|
|
|
|
|
|
expected to be in great flux, at least for the time being. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Therefore, please do NOT base your own distributions on this one, since anything |
82
|
|
|
|
|
|
|
can change at any moment without prior notice, while I get accustomed to dzil |
83
|
|
|
|
|
|
|
myself and form those preferences in the first place... |
84
|
|
|
|
|
|
|
Absolutely nothing in this distribution is guaranteed to remain constant or |
85
|
|
|
|
|
|
|
be maintained at this point. Who knows, I may even give up on dzil altogether... |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
You have been warned. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 DESCRIPTION (at last) |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
The new distribution is packaged with L<Dist::Zilla> using |
92
|
|
|
|
|
|
|
L<Dist::Zilla::PluginBundle::Author::TABULO>. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Profiles available are: |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=over 4 |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=item * |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
C<github> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Creates a distribution hosted on L<github|http://github.com>, with hooks to determine the |
103
|
|
|
|
|
|
|
module version and other metadata from git. Issue tracking is disabled, as RT |
104
|
|
|
|
|
|
|
is selected as the bugtracker in the distribution's metadata (via the plugin |
105
|
|
|
|
|
|
|
bundle). |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
You will be prompted to create a repository on github immediately; if you |
108
|
|
|
|
|
|
|
decline, you must create one manually before you do your first C<push>. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=item * |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
C<default> |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Presently the same as C<github>. Available since version 0.087. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=back |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head1 SEE ALSO |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=over 4 |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=item * |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
L<Dist::Zilla::PluginBundle::Author::TABULO> |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=item * |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
L<Pod::Weaver::PluginBundle::Author::TABULO> |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=item * |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
L<Dist::Zilla::MintingProfile::Author::ETHER> (ETHER's original bundle) |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=back |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=head1 BASED ON |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
This distribution is based on L<Dist::Zilla::MintingProfile::Author::ETHER> by |
139
|
|
|
|
|
|
|
Karen Etheridge L<cpan:ETHER>. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Thank you ETHER! |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=head1 SUPPORT |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
Bugs may be submitted through L<the RT bug tracker|https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-PluginBundle-Author-TABULO> |
146
|
|
|
|
|
|
|
(or L<bug-Dist-Zilla-PluginBundle-Author-TABULO@rt.cpan.org|mailto:bug-Dist-Zilla-PluginBundle-Author-TABULO@rt.cpan.org>). |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head1 AUTHOR |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Tabulo <tabulo@cpan.org> |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
This software is copyright (c) 2018 by Tabulo. |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
157
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=cut |