Environment

Summary

Contains functionality related to the environment.

Environment Variables

EnvironmentVariable(ICakeContext, string) Retrieves the value of the environment variable or null if the environment variable does not exist.
EnvironmentVariables(ICakeContext) Retrieves all environment variables
HasEnvironmentVariable(ICakeContext, string) Checks for the existence of a value for a given environment variable.

Platform

IsRunningOnUnix(ICakeContext) Determines whether the build script running on a Unix or Linux based system.
IsRunningOnWindows(ICakeContext) Determines whether the build script is running on Windows.