| 1 | package PkgForge::BuildCommand::Submitter; # -*-perl-*- | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | # $Id: Submitter.pm.in 16781 2011-04-22 09:41:46Z squinney@INF.ED.AC.UK $ | ||
| 6 | # $Source:$ | ||
| 7 | # $Revision: 16781 $ | ||
| 8 | # $HeadURL: https://svn.lcfg.org/svn/source/tags/PkgForge-Server/PkgForge_Server_1_1_10/lib/PkgForge/BuildCommand/Submitter.pm.in $ | ||
| 9 | # $Date: 2011-04-22 10:41:46 +0100 (Fri, 22 Apr 2011) $ | ||
| 10 | |||
| 11 | 1 | our $VERSION = '1.1.10'; | |
| 12 | |||
| 13 | 1 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 1 | ▶ | use MooseX::Types::Moose qw(Str); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 1 | with 'PkgForge::BuildCommand'; | |
| 17 | |||
| 18 | 1 | has 'platform' => ( | |
| 19 | is => 'ro', | ||
| 20 | isa => Str, | ||
| 21 | required => 1, | ||
| 22 | documentation => 'The platform to build on', | ||
| 23 | ); | ||
| 24 | |||
| 25 | 1 | has 'architecture' => ( | |
| 26 | is => 'ro', | ||
| 27 | isa => Str, | ||
| 28 | required => 0, | ||
| 29 | predicate => 'has_architecture', | ||
| 30 | documentation => 'The architecture to build on', | ||
| 31 | ); | ||
| 32 | |||
| 33 | 1 | ▶ | no Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 34 | |||
| 35 | 1 | 1; | |
| 36 | __END__ | ||