cake-build / cake

:cake: Cake (C# Make) is a cross platform build automation system.
https://cakebuild.net
MIT License
3.87k stars 727 forks source link

Add support for getting the user's home directory in the Cake Environment #4092

Closed augustoproiete closed 1 year ago

augustoproiete commented 1 year ago

The Cake Environment currently supports getting the WorkingDirectory as well as the ApplicationRoot, but doesn't support getting the user's home directory.

Proposed API:

public interface ICakeEnvironment
{
    /// <summary>
    /// Gets the user's home directory.
    /// </summary>
    /// <value>The user's home directory.</value>
    DirectoryPath UserHomeDirectory { get; }

    // ...
}
cake-build-bot commented 1 year ago

:tada: This issue has been resolved in version v3.1.0 :tada:

The release is available on:

Your GitReleaseManager bot :package::rocket: