| 1 | # Build::Hopen::Phase::Gen - generation-phase operations | ||
| 2 | package Build::Hopen::Phase::Gen; | ||
| 3 | use Build::Hopen; | ||
| 4 | use Build::Hopen::Base; | ||
| 5 | #use parent 'Exporter'; | ||
| 6 | |||
| 7 | our $VERSION = '0.000008'; # TRIAL | ||
| 8 | |||
| 9 | #use Class::Tiny ;#qw(TODO); | ||
| 10 | |||
| 11 | # Docs {{{1 | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Build::Hopen::Phase::Gen - Generate build files | ||
| 16 | |||
| 17 | =head1 SYNOPSIS | ||
| 18 | |||
| 19 | Gen runs second. Gen reads: | ||
| 20 | |||
| 21 | =over | ||
| 22 | |||
| 23 | =item * | ||
| 24 | |||
| 25 | the capability file from Probe | ||
| 26 | |||
| 27 | =item * | ||
| 28 | |||
| 29 | the options file from Probe, possibly with user edits | ||
| 30 | |||
| 31 | =item * | ||
| 32 | |||
| 33 | any context files identified by Probe | ||
| 34 | |||
| 35 | =item * | ||
| 36 | |||
| 37 | a recipes file specifying the build graph | ||
| 38 | |||
| 39 | =back | ||
| 40 | |||
| 41 | Gen outputs one or more blueprint files for a build system, such as make | ||
| 42 | or Ninja. | ||
| 43 | |||
| 44 | =cut | ||
| 45 | |||
| 46 | # }}}1 | ||
| 47 | |||
| 48 | =head1 FUNCTIONS | ||
| 49 | |||
| 50 | =head2 todo | ||
| 51 | |||
| 52 | TODO | ||
| 53 | |||
| 54 | =cut | ||
| 55 | |||
| 56 | sub todo { | ||
| 57 | my $self = shift or croak 'Need an instance'; | ||
| 58 | ... | ||
| 59 | } #todo() | ||
| 60 | |||
| 61 | #our @EXPORT = qw(); | ||
| 62 | #our @EXPORT_OK = qw(); | ||
| 63 | #our %EXPORT_TAGS = ( | ||
| 64 | # default => [@EXPORT], | ||
| 65 | # all => [@EXPORT, @EXPORT_OK] | ||
| 66 | #); | ||
| 67 | |||
| 68 | #sub import { # {{{1 | ||
| 69 | #} #import() # }}}1 | ||
| 70 | |||
| 71 | #1; | ||
| 72 | __END__ |