Skip to content

Compiler.Class.Compilation

DecentM edited this page Jan 29, 2025 · 75 revisions

@decentm/concourse-ts / Compiler / Compilation

Class: Compilation

Defined in: compiler/index.ts:23

Follows the compilation process for a pipeline and transforms results into writable files.

Constructors

new Compilation()

new Compilation(): Compilation

Returns

Compilation

Methods

compile()

compile(input): CompilationResult

Defined in: compiler/index.ts:61

Compiles a pipeline into a set of files that can be written to disk. Does not throw even if the pipeline is invalid.

Parameters

input

Pipeline

Returns

CompilationResult


validate()

validate(input): WarningStore

Defined in: compiler/index.ts:39

Returns a warning store that contains all warnings and errors about the pipeline. Does not throw even if the pipeline is invalid.

Parameters

input

Pipeline

Returns

WarningStore

Clone this wiki locally