App::SmokeBrew::Plugin - A Moose role for smokebrew plugins
package App::SmokeBrew::Plugin::Some::Plugin; use Moose; with 'App::SmokeBrew::Plugin';
These are the attributes provided by the role and are expected by smokebrew:
A required attribute, this must be a valid email address as constrained by MooseX::Types::Email
prefix = /home/cpan/pit/rel perls will be installed as /home/cpan/pit/perl-5.12.0, /home/cpan/pit/perl-5.10.1, etc.
A required attribute, this is an arrayref of URI objects representing CPAN Mirrors to use. It uses type
ArrayRefUri from App::SmokeBrew::Types, so will coerce URI objects from ordinary strings and from an arrayref of strings. It is set to
Optional attribute, which has no default value, this is the address or IP address of a mail exchanger to use for sending test reports.
Optional boolean attribute, which defaults to 0, indicates whether the plugin should produce verbose output.
Optional boolean attribute, which defaults to 0, indicates whether the plugin should cleanup files that it produces under the
builddir or not.
Consumer classes as required to implement the following methods:
App::SmokeBrew will pass any options it finds in a named section of the configuration file for a plugin when it a new plugin instance. See smokebrew for details. You are expected to document any options that may be passed to your plugin in this manner.
Chris Williams <firstname.lastname@example.org>
This software is copyright (c) 2013 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.