2009/02/19 Thu 19:30
takkyun
'text' => {
'type' => 'build',
'name' => 'sample plugin for build',
'text' => 'sample plugin for build',
'author' => 'takkyun',
'detail' => 'http://serenebach.net/',
'version' => version(),
},
'file' => undef,
'data' => undef,
);
sb::Plugin->register_extra_module(
'type' => 'build',
'callback' => \&_callback,
);
sub version
{
return '0.00';
}
# --------------------------------------
sub _callback
{
my $builder = shift;
my $mode = shift; # initialize, xxx_entry, xxx_top, xxx_receipt, xxx_all
my $obj = shift; # target entry object (xxx_entry or xxx_receipt)
return if ( $mode eq 'initialize' );
sb->debug('[build] ' . $mode . ' ... ' . $obj . "\n");
}
1;
[7] <<
-
-
<< Serene Bach 3.00 beta019
Serene Bach 3.00 beta021 >>
[0] [top]