Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ningen/generate.ts>Generator

Simple ninja build generator
Latest
class Generator
import { Generator } from "https://deno.land/x/ningen@0.0.6/generate.ts";

Constructors

new
Generator(directory: string)

Properties

private
readonly
output: string[]

Methods

private
addLine(line: string, indent?)
private
newline()
private
writeDefault(target: Target)
private
writePoolAssignment(pool: Pool | "console" | "")
private
writeVars(vars: Vars)
write(
pools: readonly Pool[],
rules: readonly Rule[],
targets: readonly Target[],
)