C# Класс Code.Cake.DNXSupport

Provides extension methods for Cake context.
Показать файл Открыть проект

Открытые методы

Метод Описание
DNUBuild ( this context, Action config ) : void

Runs dnu build.

DNUPublish ( this context, Action config ) : void

Runs dnu publish

DNURestore ( this context, Action config ) : void

Runs dnu restore.

DNXRun ( this context, Action config ) : void

Runs a dnx command, automatically switching the runtime (ie. dnvm use) based on config.DNXRunSettings.EstimatedRuntime property if this estimated runtime is not the current one (see GetDNXRuntimeInformation).

GetDNXRuntimeInformation ( this context ) : DNXRuntimeInformation

Gets the DNX runtime information. Never null but DNXRuntimeInformation.IsValid may be false.

Приватные методы

Метод Описание
LoadDNXRuntimeInformation ( ICakeContext context ) : DNXRuntimeInformation

Always create a DNXRuntimeInformation object that may be not valid.

Описание методов

DNUBuild() публичный статический Метод

Runs dnu build.
public static DNUBuild ( this context, Action config ) : void
context this This cake context.
config Action The configuration to use.
Результат void

DNUPublish() публичный статический Метод

Runs dnu publish
public static DNUPublish ( this context, Action config ) : void
context this This cake context.
config Action The configuration to use.
Результат void

DNURestore() публичный статический Метод

Runs dnu restore.
public static DNURestore ( this context, Action config ) : void
context this This cake context.
config Action The configuration to use.
Результат void

DNXRun() публичный статический Метод

Runs a dnx command, automatically switching the runtime (ie. dnvm use) based on config.DNXRunSettings.EstimatedRuntime property if this estimated runtime is not the current one (see GetDNXRuntimeInformation).
public static DNXRun ( this context, Action config ) : void
context this This cake context.
config Action The configuration to use.
Результат void

GetDNXRuntimeInformation() публичный статический Метод

Gets the DNX runtime information. Never null but DNXRuntimeInformation.IsValid may be false.
public static GetDNXRuntimeInformation ( this context ) : DNXRuntimeInformation
context this The cake context.
Результат DNXRuntimeInformation