Plugin/Hook/FileMunger.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Plugin/Hook/FileGatherer.pm ↑ Summary Plugin/Hook/FilePruner.pm »
1 # ------------------------------------------------------------------------------------------------
2 #
3 # file: lib/Dist/Zilla/Plugin/Hook/FileMunger.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::FileMunger> 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::FileMunger>
26 #pod
27 #pod =cut
28  
29 package Dist::Zilla::Plugin::Hook::FileMunger;
30  
31 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
32 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
33 1 ▶use version 0.77;
Subroutine BEGIN: called CC=1 SCAR=0.0
34  
35 # ABSTRACT: C<Hook::FileMunger> plugin implementation
36 1 our $VERSION = 'v0.8.4'; # VERSION
37  
38 1 with 'Dist::Zilla::Role::Plugin';
39 1 with 'Dist::Zilla::Role::Hooker' => {
40 -alias => { hook => 'munge_files' },
41 };
42 1 with 'Dist::Zilla::Role::FileMunger';
43  
44 1 __PACKAGE__->meta->make_immutable();
45  
46 1 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__
« Plugin/Hook/FileGatherer.pm ↑ Summary Plugin/Hook/FilePruner.pm »