XRepo is a meta package manager for C/C++ built on top of XMake.
More...
|
| 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.
|
| |
|
| static ValueOrError< ToolEx > | EnsureXRepo [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.
|
| |
XRepo is a meta package manager for C/C++ built on top of XMake.
Definition at line 11 of file XRepoTasks.cs.
◆ 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
-
| package | package specification including version syntax. See https://xrepo.xmake.io/#/?id=installation-package |
| options | Extra 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) |
| extraArgs | Extra 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 |
◆ 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
-
| package | package specification including version syntax. See https://xrepo.xmake.io/#/?id=installation-package |
| options | Extra options configuring the package. It should be comma separated key=value pairs. |
| extraArgs | Extra arguments provided through command line before package specification. |
- Returns
Definition at line 43 of file XRepoTasks.cs.
◆ 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:
- /home/runner/work/md.Nuke.Cola/md.Nuke.Cola/md.Nuke.Cola/Tooling/XMake/XRepoTasks.cs