The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Hopen::Gen::Ninja - hopen generator for simple Ninja files

SYNOPSIS

This generator makes a build.ninja file.

FUNCTIONS

visit_goal

Add a target corresponding to the name of the goal. Usage:

    $Generator->visit_goal($node, $node_inputs);

This happens while the command graph is being run.

finalize

Write out the Ninja file.

default_toolset

Returns the package name of the default toolset for this generator, which is Gnu (i.e., Data::Hopen::T::Gnu).

_assetop_class

The class of asset-graph operations, which in this case is App::hopen::Gen::Ninja::AssetGraphNode.

_run_build

Implementation of "run_build" in App::hopen::Gen.

INTERNALS

_expand

Produce the command line or lines associated with a work item. Used by "finalize".

BUILD

Constructor