C# 클래스 Code.Cake.DNXSupport

Provides extension methods for Cake context.
파일 보기 프로젝트 열기: SimpleGitVersion/SGV-Net

공개 메소드들

메소드 설명
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