NAME

Data::Hopen::G::Goal - a named goal in a hopen build

SYNOPSIS

A Goal is a named build target, e.g., doc or dist. The name all is reserved for the root goal. Goals usually appear at the end of the build graph, but this is not required --- Goal nodes can appear anywhere in the graph.

MEMBERS

should_output

Boolean, default true. If false, the goal's outputs are always {} (empty). If true, the goal's inputs are passed through as outputs.

FUNCTIONS

run

Passes through the inputs if "should_output" is set.

BUILD

Enforce the requirement for a user-specified name.