File Coverage

blib/lib/Ado/BuildPlugin.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Ado::BuildPlugin;
2 2     2   969 use 5.014;
  2         5  
3 2     2   9 use strict;
  2         8  
  2         46  
4 2     2   7 use warnings FATAL => 'all';
  2         2  
  2         90  
5 2     2   10 use parent 'Module::Build';
  2         5  
  2         16  
6 2         228 use Ado::Build qw(
7             process_etc_files process_public_files do_create_readme
8             process_templates_files create_build_script
9 2     2   69074 ACTION_perltidy ACTION_submit PERL_DIRS);
  2         4  
10              
11             1;
12              
13             =pod
14              
15             =encoding utf8
16              
17             =head1 NAME
18              
19             Ado::BuildPlugin - Custom routines for Ado::Plugin::* installation
20              
21             =head1 SYNOPSIS
22              
23             #Ado must be already installed and
24             #Ado::BuildPlugin should be somewhere in @INC
25             use Ado::BuildPlugin;
26             my $builder = Ado::BuildPlugin->new(..);
27             $builder->create_build_script();
28              
29             =head1 DESCRIPTION
30              
31             This is a subclass of L.
32             We use L to add custom functionality
33             so we can install Ado and its plugins in a location chosen by the user.
34             To use this module for installing your plugins
35             Build.PL should some how find it in @INC (may be via C<$ENV{PERL5LIB}>).
36              
37             This module and L exist because of the additional install paths
38             that we use beside C and C. These modules also can serve as examples
39             for your own builders if you have some custom things to do during
40             build, test, install and even if you need to add a new C
41             to your setup.
42              
43              
44             =head1 METHODS
45              
46             Ado::BuildPlugin inherits all methods from L.
47             It also imports C, C,
48             C, C from L.
49              
50              
51             =head1 AUTHOR
52              
53             Красимир Беров (Krasimir Berov)
54              
55             =head1 COPYRIGHT AND LICENSE
56              
57             Copyright 2013-2014 Красимир Беров (Krasimir Berov).
58              
59             This program is free software, you can redistribute it and/or
60             modify it under the terms of the
61             GNU Lesser General Public License v3 (LGPL-3.0).
62             You may copy, distribute and modify the software provided that
63             modifications are open source. However, software that includes
64             the license may release under a different license.
65              
66             See http://opensource.org/licenses/lgpl-3.0.html for more information.
67              
68             =cut
69