CakeAliases.

CakeExecuteScript(ICakeContext, FilePath, CakeSettings) Method

Summary

Executes cake script out of process
Namespace
Cake.Common.Tools.Cake
Containing Type
CakeAliases

Syntax

[CakeMethodAlias]
public static void CakeExecuteScript(this ICakeContext context, FilePath cakeScriptPath, CakeSettings settings)

Examples

CakeExecuteScript("./helloworld.cake", new CakeSettings{ ToolPath="./Cake.exe" });

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
cakeScriptPath FilePath The script file.
settings CakeSettings The settings CakeSettings.

Return Value

Type Description
void