Nuke.Cola
Loading...
Searching...
No Matches
Nuke.Cola.Tooling Namespace Reference

Classes

struct  ArgumentStringHandlerEx
 
class  CMakeTasks
 CMake is a versatile build tool for C and C++ (in 99% of cases) More...
 
class  PythonTasks
 
class  ToolCola
 
class  ToolExExecutor
 
class  ToolExResolver
 
class  VcpkgTasks
 Wrapper class for VCPKG a C++ package manager by Microsoft. More...
 
class  WingetTasks
 Microsofts official command line package manager for windows. More...
 

Functions

record class PropagateToolExecution (Tool Target, ToolArguments? PropagateArguments=null)
 Propagated Tool delegate provider for launch parameter composition.
 
record class ToolArguments (string? Arguments=null, string? WorkingDirectory=null, IReadOnlyDictionary< string, string >? EnvironmentVariables=null, int? Timeout=null, bool? LogOutput=null, bool? LogInvocation=null, Action< OutputType, string >? Logger=null, Action< IProcess >? ExitHandler=null)
 A record listing Tool delegate parameters and provides a way to meaningfully merge multiple together.
 
delegate? ToolEx ToolExRetry (ToolEx previousTool, IProcess previousProcess, int attempt)
 
delegate? IReadOnlyCollection< Output > ToolEx (ArgumentStringHandlerEx arguments=default, string? workingDirectory=null, IReadOnlyDictionary< string, string >? environmentVariables=null, int? timeout=null, bool? logOutput=null, bool? logInvocation=null, Action< OutputType, string >? logger=null, Action< IProcess >? exitHandler=null, Action< StreamWriter >? input=null, Encoding? standardOutputEncoding=null, Encoding? standardInputEncoding=null, ToolExRetry? retry=null)
 Extended copy of Tool delegate of Nuke.
 
record class ToolExArguments (ToolArguments ToolArgs, Action< StreamWriter >? Input=null, Encoding? StandardOutputEncoding=null, Encoding? StandardInputEncoding=null, ToolExRetry? Retry=null)
 A record listing Tool and ToolEx delegate parameters and provides a way to meaningfully merge multiple together.
 
record class PropagateToolExExecution (ToolEx Target, ToolExArguments? PropagateArguments=null)
 Propagated ToolEx delegate provider for launch parameter composition.
 

Function Documentation

◆ PropagateToolExecution()

record class Nuke.Cola.Tooling.PropagateToolExecution ( Tool Target,
ToolArguments? PropagateArguments = null )

Propagated Tool delegate provider for launch parameter composition.

Parameters
Target
PropagateArguments

Definition at line 18 of file PropagateToolExecution.cs.

◆ PropagateToolExExecution()

record class Nuke.Cola.Tooling.PropagateToolExExecution ( ToolEx Target,
ToolExArguments? PropagateArguments = null )

Propagated ToolEx delegate provider for launch parameter composition.

Parameters
Target
PropagateArguments

Definition at line 132 of file ToolEx.cs.

◆ ToolArguments()

record class Nuke.Cola.Tooling.ToolArguments ( string? Arguments = null,
string? WorkingDirectory = null,
IReadOnlyDictionary< string, string >? EnvironmentVariables = null,
int? Timeout = null,
bool? LogOutput = null,
bool? LogInvocation = null,
Action< OutputType, string >? Logger = null,
Action< IProcess >? ExitHandler = null )

A record listing Tool delegate parameters and provides a way to meaningfully merge multiple together.

Parameters
Arguments
WorkingDirectory
EnvironmentVariables
Timeout
LogOutput
LogInvocation
Logger
ExitHandler

Definition at line 23 of file ToolArguments.cs.

◆ ToolEx()

delegate? IReadOnlyCollection< Output > Nuke.Cola.Tooling.ToolEx ( ArgumentStringHandlerEx arguments = default,
string? workingDirectory = null,
IReadOnlyDictionary< string, string >? environmentVariables = null,
int? timeout = null,
bool? logOutput = null,
bool? logInvocation = null,
Action< OutputType, string >? logger = null,
Action< IProcess >? exitHandler = null,
Action< StreamWriter >? input = null,
Encoding? standardOutputEncoding = null,
Encoding? standardInputEncoding = null,
ToolExRetry? retry = null )

Extended copy of Tool delegate of Nuke.

◆ ToolExArguments()

record class Nuke.Cola.Tooling.ToolExArguments ( ToolArguments ToolArgs,
Action< StreamWriter >? Input = null,
Encoding? StandardOutputEncoding = null,
Encoding? StandardInputEncoding = null,
ToolExRetry? Retry = null )

A record listing Tool and ToolEx delegate parameters and provides a way to meaningfully merge multiple together.

Parameters
ToolArgsRegular Tool delegate arguments
InputHandle standard input stream after process creation
StandardOutputEncodingEncoding for standard output. Default is UTF8 (with BOM)
StandardInputEncodingEncoding for standard input. Default is UTF8 (without BOM)
RetryAutomatically make another attempt if the returned tool delegate is not null

Definition at line 43 of file ToolEx.cs.