# -*- perl -*- # # Test::AutoBuild::Publisher by Daniel Berrange # # Copyright (C) 2002-2004 Daniel Berrange # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # $Id: Publisher.pm,v 1.1.2.1 2004/08/16 09:10:55 danpb Exp $ =pod =head1 NAME Test::AutoBuild::Publisher - Simple publishering of modules =head1 SYNOPSIS use Test::AutoBuild::Publisher my $publisher = Test::AutoBuild::Publisher->new(name => $name, label => $label, options => \%options); my $name = $publisher->name([$newname]); my $label = $publisher->label([$newlabel]); my $value = $publisher->option($name[, $newvalue]); =head1 DESCRIPTION The Test::AutoBuild::Publisher module provides an API for copying artifacts from the module build root to a destination directory. =head1 CONFIGURATION The valid configuration options for the C block are =head1 METHODS =over 4 =cut package Test::AutoBuild::Publisher; use strict; use Carp qw(confess); =pod =item my $publisher = Test::AutoBuild::Publisher->new(name => $name, label => $label, [options => \%options]); Creates a new publisher object. C is an array ref of Test::AutoBUild::Module objects representing the members of the publisher. C is a short alphanumeric token for the name of the publisher. C