PathAliases.

AddToPath(ICakeContext, DirectoryPath) Method

Summary

Adds a value to the path.
Assembly
Cake.Path.dll
Namespace
Cake.Path
Containing Type
PathAliases

Syntax

public static void AddToPath(this ICakeContext context, DirectoryPath value)

Examples

Task("AddToPath")
  .Does(() => 
  {
     AddToPath("C:\\Python27\\");
  });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
value DirectoryPath Item to add.

Return Value

Type Description
void