File Coverage

blib/lib/Dist/Zilla/Plugin/Hook/BeforeBuild.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2             #
3             # file: lib/Dist/Zilla/Plugin/Hook/BeforeBuild.pm
4             #
5             # This file is part of perl-Dist-Zilla-Plugin-Hook.
6             # This file was generated with =tools::GenerateHooks.
7             #
8             # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
9              
10             #pod =head1 DESCRIPTION
11             #pod
12             #pod This is C<Hook::BeforeBuild> plugin implementation. Nothing interesting, just using few roles.
13             #pod
14             #pod If you want to write C<Dist::Zilla> plugin directly in F<dist.ini>, read the L<manual|Dist::Zilla::Plugin::Hook::Manual>. General topics like
15             #pod getting source, building, installing, bug reporting and some others are covered in the F<README>.
16             #pod
17             #pod =head1 SEE ALSO
18             #pod
19             #pod =for :list
20             #pod = L<Dist::Zilla::Plugin::Hook>
21             #pod = L<Dist::Zilla::Plugin::Hook:Manual>
22             #pod = L<Dist::Zilla>
23             #pod = L<Dist::Zilla::Role::BeforeBuild>
24             #pod
25             #pod =cut
26              
27             package Dist::Zilla::Plugin::Hook::BeforeBuild;
28              
29 1     1   35232 use Moose;
  1         2  
  1         7  
30 1     1   5139 use namespace::autoclean;
  1         1  
  1         10  
31 1     1   58 use version 0.77;
  1         25  
  1         14  
32              
33             # ABSTRACT: C<Hook::BeforeBuild> plugin implementation
34             our $VERSION = 'v0.8.1_01'; # TRIAL VERSION
35              
36             with 'Dist::Zilla::Role::Plugin';
37             with 'Dist::Zilla::Role::Hooker' => {
38             -alias => { hook => 'before_build' },
39             };
40             with 'Dist::Zilla::Role::BeforeBuild';
41              
42             __PACKAGE__->meta->make_immutable();
43              
44             1;
45              
46             #pod =head1 COPYRIGHT AND LICENSE
47             #pod
48             #pod Copyright (C) 2015 Van de Bugger
49             #pod
50             #pod License GPLv3+: The GNU General Public License version 3 or later
51             #pod <http://www.gnu.org/licenses/gpl-3.0.txt>.
52             #pod
53             #pod This is free software: you are free to change and redistribute it. There is
54             #pod NO WARRANTY, to the extent permitted by law.
55             #pod
56             #pod
57             #pod =cut
58              
59             # end of file #
60              
61             __END__
62              
63             =pod
64              
65             =encoding UTF-8
66              
67             =head1 NAME
68              
69             Dist::Zilla::Plugin::Hook::BeforeBuild - C<Hook::BeforeBuild> plugin implementation
70              
71             =head1 VERSION
72              
73             Version v0.8.1_01, released on 2016-10-11 00:10 UTC.
74             This is a B<trial release>.
75              
76             =head1 DESCRIPTION
77              
78             This is C<Hook::BeforeBuild> plugin implementation. Nothing interesting, just using few roles.
79              
80             If you want to write C<Dist::Zilla> plugin directly in F<dist.ini>, read the L<manual|Dist::Zilla::Plugin::Hook::Manual>. General topics like
81             getting source, building, installing, bug reporting and some others are covered in the F<README>.
82              
83             =head1 SEE ALSO
84              
85             =over 4
86              
87             =item L<Dist::Zilla::Plugin::Hook>
88              
89             =item L<Dist::Zilla::Plugin::Hook:Manual>
90              
91             =item L<Dist::Zilla>
92              
93             =item L<Dist::Zilla::Role::BeforeBuild>
94              
95             =back
96              
97             =head1 AUTHOR
98              
99             Van de Bugger <van.de.bugger@gmail.com>
100              
101             =head1 COPYRIGHT AND LICENSE
102              
103             Copyright (C) 2015 Van de Bugger
104              
105             License GPLv3+: The GNU General Public License version 3 or later
106             <http://www.gnu.org/licenses/gpl-3.0.txt>.
107              
108             This is free software: you are free to change and redistribute it. There is
109             NO WARRANTY, to the extent permitted by law.
110              
111             =cut