Nuke.Cola
Loading...
Searching...
No Matches
ImplicitBuildInterfacePlugin.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Threading.Tasks;
5using Nuke.Common.IO;
6
8
10{
11 public List<Importable> Interfaces { init; get; } = new();
12 public IEnumerable<Importable> BuildInterfaces => Interfaces;
13
14 public AbsolutePath SourcePath => (AbsolutePath) $"\\\\{nameof(ImplicitBuildInterfacePlugin)}";
15
16 public void Compile(BuildContext context) {}
17}
IEnumerable< Importable > BuildInterfaces
List of build interfaces which are found in the plugin.
AbsolutePath SourcePath
Original source path of the plugin (can be either a script or a project file)
void Compile(BuildContext context)
This should be called before attempting to gather resulting types from the plugin.
Implementation of this plugin must provide one build plugin which can be compiled to a ....
record class BuildContext(AbsolutePath Temporary, AbsolutePath Root)
Local paths for plugin discovery and compilation.