Nuke.Cola
Loading...
Searching...
No Matches
PythonTasks.cs
1
using
System;
2
using
System.Collections.Generic;
3
using
System.Linq;
4
using
System.Threading.Tasks;
5
using
Nuke.Common;
6
using
Nuke.Common.Tooling;
7
8
namespace
Nuke.Cola.Tooling
;
9
10
public
class
PythonTasks
11
{
12
public
static
ValueOrError<Tool> EnsurePython =>
ToolCola
.
Use
(
"py"
);
13
public
static
Tool Python => EnsurePython.Get();
14
15
public
static
ValueOrError<Tool> EnsurePip =>
ToolCola
.
Use
(
"pip"
);
16
public
static
Tool Pip => EnsurePip.Get();
17
}
Nuke.Cola.Tooling.PythonTasks
Definition
PythonTasks.cs:11
Nuke.Cola.Tooling.ToolCola
Definition
ToolCola.cs:15
Nuke.Cola.Tooling.ToolCola.Use
static ValueOrError< Tool > Use(string tool, Action? setup=null)
Get a tool which should be in PATH, and provide an optional way to set it up automatically if it wasn...
Nuke.Cola.Tooling
Definition
CMakeTasks.cs:16
md.Nuke.Cola
Tooling
PythonTasks.cs
Generated by
1.12.0