Skip to content

ConfigureContext

type ConfigureContext =
    {
        ProjectRoot: AbsolutePath
        IsWatch: bool
        Diagnostics: DiagnosticSink
    }
AssemblyNacara.Core
Attributes[<ReferenceEquality>]

What a plugin is told while it configures.

Fields

ProjectRoot: AbsolutePath
IsWatch: bool

True while watch is rebuilding.

Diagnostics: DiagnosticSink

Where a plugin reports a problem it finds while it configures.

A warning lets the build go on. An error fails it, once the rest of the site is built.