Hopen/Tool.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # Build::Hopen::Tool - base class for a hopen tool.
2 package Build::Hopen::Tool;
3 use Build::Hopen;
4 use Build::Hopen::Base;
5  
6 our $VERSION = '0.000008'; # TRIAL
7  
8 use parent 'Build::Hopen::G::Op';
9 use Class::Tiny;
10  
11 # Docs {{{1
12  
13 =head1 NAME
14  
15 Build::Hopen::Tool - Base class for packages that know how to process files
16  
17 =head1 SYNOPSIS
18  
19 A tool knows how to generate a command or other text that will cause
20 a build system to perform a particular action on a file belonging to a
21 particular language.
22  
23 A tool is a L<Build::Hopen::G::Op>, so may interact with the current
24 generator (L<Build::Hopen/$Generator>). Moreover, the generator will
25 get a chance to visit the op after it is processed.
26  
27 Maybe TODO:
28 - Each Generator must specify a list of Content-Types (media types)
29 it can consume. Each Tool must specify a specific content-type
30 it produces. Mismatches are an error unless overriden on the
31 hopen command line.
32  
33 =cut
34  
35 # }}}1
36  
37 1;
38 __END__