Nuke.Cola
Loading...
Searching...
No Matches
Nuke.Cola.BuildPlugins.IHavePlugin Interface Reference

Implementation of this plugin must provide one build plugin which can be compiled to a .NET DLL which the intermediate script can reference. Plugins must expose .NET interfaces with default implementations as build components. Non default-implemented interface members will cause compile errors. It may seem strange but it is one intended feature of NUKE. More...

Inheritance diagram for Nuke.Cola.BuildPlugins.IHavePlugin:
Nuke.Cola.BuildPlugins.CSharpScriptPlugin Nuke.Cola.BuildPlugins.DotnetProjectPlugin Nuke.Cola.BuildPlugins.ImplicitBuildInterfacePlugin

Public Member Functions

void Compile (BuildContext context)
 This should be called before attempting to gather resulting types from the plugin.
 

Properties

IEnumerable< ImportableBuildInterfaces [get]
 List of build interfaces which are found in the plugin.
 
AbsolutePath SourcePath [get]
 Original source path of the plugin (can be either a script or a project file)
 

Detailed Description

Implementation of this plugin must provide one build plugin which can be compiled to a .NET DLL which the intermediate script can reference. Plugins must expose .NET interfaces with default implementations as build components. Non default-implemented interface members will cause compile errors. It may seem strange but it is one intended feature of NUKE.

Definition at line 16 of file IHavePlugin.cs.

Member Function Documentation

◆ Compile()

void Nuke.Cola.BuildPlugins.IHavePlugin.Compile ( BuildContext context)

This should be called before attempting to gather resulting types from the plugin.

Implemented in Nuke.Cola.BuildPlugins.CSharpScriptPlugin, Nuke.Cola.BuildPlugins.DotnetProjectPlugin, and Nuke.Cola.BuildPlugins.ImplicitBuildInterfacePlugin.

Property Documentation

◆ BuildInterfaces

IEnumerable<Importable> Nuke.Cola.BuildPlugins.IHavePlugin.BuildInterfaces
get

List of build interfaces which are found in the plugin.

Implemented in Nuke.Cola.BuildPlugins.CSharpScriptPlugin, Nuke.Cola.BuildPlugins.DotnetProjectPlugin, and Nuke.Cola.BuildPlugins.ImplicitBuildInterfacePlugin.

Definition at line 27 of file IHavePlugin.cs.

◆ SourcePath

AbsolutePath Nuke.Cola.BuildPlugins.IHavePlugin.SourcePath
get

Original source path of the plugin (can be either a script or a project file)

Implemented in Nuke.Cola.BuildPlugins.CSharpScriptPlugin, Nuke.Cola.BuildPlugins.DotnetProjectPlugin, and Nuke.Cola.BuildPlugins.ImplicitBuildInterfacePlugin.

Definition at line 32 of file IHavePlugin.cs.


The documentation for this interface was generated from the following file: