GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MODULE::SETUP::PLUGIN (3)

.ds Aq ’

NAME

Module::Setup::Plugin - Module::Setup Plugin

CONTENTS

Trigger Point

before_dump_config CW$config

config setup Module::Setup::Plugin::Config::Basic

    after_setup_module_attribute

module attribute setup Module::Setup::Plugin::VC::SVN

    after_setup_template_vars

template parameters setup

    append_template_file

add module template file for new module Module::Setup::Plugin::VC::Git

template_process CW$options

for template process Module::Setup::Plugin::Template

replace_distribute_path CW$options

for distribute path rewrite phase

    check_skeleton_directory



  for test L<Module::Setup::Plugin::Test::Makefile>



    after_create_skeleton

after create_skeleton

    finalize_create_skeleton

last trigger of run method on skeleton directory

    finish_of_run

last hook of run method Module::Setup::Plugin::VC::SVK

Plugin Example

~/.module-setup/flavor/myflavor/plugins/plugin.pm
package MyFlavor::Plugin;
use strict;
use warnings;
use baseModule::Setup::Plugin’;



  sub register {
      my($self, ) = @_;
      $self->add_trigger( check_skeleton_directory => \&check_skeleton_directory );
  }

  sub check_skeleton_directory {
      my $self = shift;
  }



~/.module-setup/flavor/myflavor/config.yaml



  config:
    plugins:
      - Config::Basic
      - VC::SVN
      - Template
      - Test::Makefile
      - +MyFlavor::Plugin



or command option



  $ module-setup --plugin=+MyFlavor::Plugin New::Module



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MODULE::SETUP::PLUGIN (3) 2010-02-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.