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

.bazeliskrc: Add Support for Env Var and Tilde Expansion #587

Conversation

albertocavalcante
Copy link
Contributor

This is a proposal to add support for env expansion as os.MkdirAll will treat shell variables and ~ as literals.

Fixes #586

@albertocavalcante
Copy link
Contributor Author

Hi @fweikert, could you or someone please review this PR when you have a chance? Thanks!

@albertocavalcante
Copy link
Contributor Author

Hey @fweikert, just wondering if you have any comments on this as I'm really keen to get this implemented and stop using a fork 😅. Thanks!

(Happy to change the else clause for an early return if makes more readable. I tried to follow my perception of the code "convention")

@fweikert fweikert merged commit 19ee002 into bazelbuild:master Jul 9, 2024
2 checks passed
@fweikert
Copy link
Member

fweikert commented Jul 9, 2024

Ah, I was too quick to merge. Yeah, I would have preferred an early return, too, but didn't want to block the PR on it.

@albertocavalcante albertocavalcante deleted the feature/bazeliskrc-support-var-expansion branch July 18, 2024 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.bazeliskrc: Support Variable Expansion and Tilde Notation in Home Directory Paths
2 participants