| 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 | # SPDX-License-Identifier: GPL-3.0-or-later | ||
| 9 | # | ||
| 10 | # ------------------------------------------------------------------------------------------------ | ||
| 11 | |||
| 12 | #pod =head1 DESCRIPTION | ||
| 13 | #pod | ||
| 14 | #pod This is C<Hook::BeforeBuild> plugin implementation. Nothing interesting, just using few roles. | ||
| 15 | #pod | ||
| 16 | #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 | ||
| 17 | #pod getting source, building, installing, bug reporting and some others are covered in the F<README>. | ||
| 18 | #pod | ||
| 19 | #pod =head1 SEE ALSO | ||
| 20 | #pod | ||
| 21 | #pod =for :list | ||
| 22 | #pod = L<Dist::Zilla::Plugin::Hook> | ||
| 23 | #pod = L<Dist::Zilla::Plugin::Hook:Manual> | ||
| 24 | #pod = L<Dist::Zilla> | ||
| 25 | #pod = L<Dist::Zilla::Role::BeforeBuild> | ||
| 26 | #pod | ||
| 27 | #pod =cut | ||
| 28 | |||
| 29 | package Dist::Zilla::Plugin::Hook::BeforeBuild; | ||
| 30 | |||
| 31 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 32 | 2 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 33 | 2 | ▶ | use version 0.77; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 34 | |||
| 35 | # ABSTRACT: C<Hook::BeforeBuild> plugin implementation | ||
| 36 | 2 | our $VERSION = 'v0.8.4'; # VERSION | |
| 37 | |||
| 38 | 2 | with 'Dist::Zilla::Role::Plugin'; | |
| 39 | 2 | with 'Dist::Zilla::Role::Hooker' => { | |
| 40 | -alias => { hook => 'before_build' }, | ||
| 41 | }; | ||
| 42 | 2 | with 'Dist::Zilla::Role::BeforeBuild'; | |
| 43 | |||
| 44 | 2 | __PACKAGE__->meta->make_immutable(); | |
| 45 | |||
| 46 | 2 | 1; | |
| 47 | |||
| 48 | #pod =head1 COPYRIGHT AND LICENSE | ||
| 49 | #pod | ||
| 50 | #pod Copyright (C) 2015, 2016, 2018 Van de Bugger | ||
| 51 | #pod | ||
| 52 | #pod License GPLv3+: The GNU General Public License version 3 or later | ||
| 53 | #pod <http://www.gnu.org/licenses/gpl-3.0.txt>. | ||
| 54 | #pod | ||
| 55 | #pod This is free software: you are free to change and redistribute it. There is | ||
| 56 | #pod NO WARRANTY, to the extent permitted by law. | ||
| 57 | #pod | ||
| 58 | #pod | ||
| 59 | #pod =cut | ||
| 60 | |||
| 61 | # end of file # | ||
| 62 | |||
| 63 | __END__ | ||