Nuke.Cola
Loading...
Searching...
No Matches
Nuke.Cola.Tooling.XMake.XRepoTasks Class Reference

XRepo is a meta package manager for C/C++ built on top of XMake. More...

Static Public Member Functions

static ToolEx Install (string package, string options="", string extraArgs="")
 Install a package using xrepo. Using xrepo as a meta package manager is not supported, so it can only use its own repository of packages through Nuke.Cola.
 
static ToolEx Fetch (string package, string options="", string extraArgs="")
 Fetch a package info installed via xrepo. Using xrepo as a meta package manager is not supported, so it can only use its own repository of packages through Nuke.Cola.
 

Properties

static ValueOrError< ToolExEnsureXRepo [get]
 Get XRepo or an error if downloading it has failed.
 
static ToolEx XRepo [get]
 Get XRepo. It throws an exception if downloading it has failed.
 

Static Private Member Functions

static void ForbidExternalPackageSources (string package)
 

Detailed Description

XRepo is a meta package manager for C/C++ built on top of XMake.

Definition at line 11 of file XRepoTasks.cs.

Member Function Documentation

◆ Fetch()

static ToolEx Nuke.Cola.Tooling.XMake.XRepoTasks.Fetch ( string package,
string options = "",
string extraArgs = "" )
static

Fetch a package info installed via xrepo. Using xrepo as a meta package manager is not supported, so it can only use its own repository of packages through Nuke.Cola.

Parameters
packagepackage specification including version syntax. See https://xrepo.xmake.io/#/?id=installation-package
optionsExtra options configuring the package. It should be comma separated key=value pairs. It is important to provide the same options here as provided in install to get accurate information from the package (like dependencies, linking methods, etc)
extraArgsExtra arguments provided through command line before package specification.
Returns

Definition at line 72 of file XRepoTasks.cs.

◆ ForbidExternalPackageSources()

static void Nuke.Cola.Tooling.XMake.XRepoTasks.ForbidExternalPackageSources ( string package)
staticprivate

Definition at line 24 of file XRepoTasks.cs.

◆ Install()

static ToolEx Nuke.Cola.Tooling.XMake.XRepoTasks.Install ( string package,
string options = "",
string extraArgs = "" )
static

Install a package using xrepo. Using xrepo as a meta package manager is not supported, so it can only use its own repository of packages through Nuke.Cola.

Parameters
packagepackage specification including version syntax. See https://xrepo.xmake.io/#/?id=installation-package
optionsExtra options configuring the package. It should be comma separated key=value pairs.
extraArgsExtra arguments provided through command line before package specification.
Returns

Definition at line 43 of file XRepoTasks.cs.

Property Documentation

◆ EnsureXRepo

ValueOrError<ToolEx> Nuke.Cola.Tooling.XMake.XRepoTasks.EnsureXRepo
staticget

Get XRepo or an error if downloading it has failed.

Definition at line 16 of file XRepoTasks.cs.

◆ XRepo

ToolEx Nuke.Cola.Tooling.XMake.XRepoTasks.XRepo
staticget

Get XRepo. It throws an exception if downloading it has failed.

Definition at line 22 of file XRepoTasks.cs.


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