CakeAliases.

CakeExecuteScript(ICakeContext, FilePath) 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)

Examples

CakeExecuteScript("./helloworld.cake");

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.

Return Value

Type Description
void