NAME

Ado::BuildPlugin - Custom routines for Ado::Plugin::* installation

SYNOPSIS

#Ado must be 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 it 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 aditional install paths that we use beside c<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.