Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
augustoproiete opened this issue Dec 10, 2022 · 1 comment · Fixed by #4093
Closed

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

augustoproiete opened this issue Dec 10, 2022 · 1 comment · Fixed by #4093
Assignees
Labels
Milestone

Comments

@augustoproiete
Copy link
Member

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; }

    // ...
}
@augustoproiete augustoproiete added this to the Next Minor Candidate milestone Dec 10, 2022
@augustoproiete augustoproiete self-assigned this Dec 10, 2022
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Dec 10, 2022
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Dec 11, 2022
@devlead devlead modified the milestones: Next Minor Candidate, v3.1.0 Dec 14, 2022
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Dec 14, 2022
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Dec 14, 2022
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Dec 14, 2022
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Dec 15, 2022
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Apr 2, 2023
devlead pushed a commit to augustoproiete-forks/cake-build--cake that referenced this issue Jun 29, 2023
devlead added a commit that referenced this issue Jun 29, 2023
…t-for-user-home-directory

GH-4092: Add support for Environment.UserHomeDirectory
@cake-build-bot
Copy link

🎉 This issue has been resolved in version v3.1.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants