NAME
Ado::BuildPlugin - Custom routines for Ado::Plugin::* installation
SYNOPSIS
#Ado must be already installed in $ENV{ADO_HOME}
use lib("$ENV{ADO_HOME}/lib");
use Ado::BuildPlugin;
my $builder = Ado::BuildPlugin->new(..);
$builder->create_build_script();
DESCRIPTION
This is a subclass of Module::Build. We use Module::Build::API to add custom functionality so we can install Ado and its plugins in a location chosen by the user. To use this module for installing your plugins $ENV{ADO_HOME} must be available and Ado installed there.
This module and Ado::Build exist because of the additional install paths that we use beside lib
and bin
. These modules also can serve as examples for your own builders if you have some custom things to do during build, test, install and even if you need to add a new ACTION_*
to your setup.
METHODS
Ado::BuildPlugin inherits all methods from Module::Build and implements the following ones. It also imports process_etc_files
, process_public_files
, process_templates_files
from Ado::Build.
create_build_script
Creates a Build
script for instaling an Ado plugin. This method will be called during ./Build dist
if you set the property create_readme
in your Build.PL
.
AUTHOR
Красимир Беров (Krasimir Berov)
COPYRIGHT AND LICENSE
Copyright 2013 Красимир Беров (Krasimir Berov).
This program is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License v3 (LGPL-3.0). You may copy, distribute and modify the software provided that modifications are open source. However, software that includes the license may release under a different license.
See http://opensource.org/licenses/lgpl-3.0.html for more information.