-
Notifications
You must be signed in to change notification settings - Fork 500
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
Consider adding set unstable
setting
#2081
Comments
I don't think this can be easily supported. I'm wondering why we don't have a setting, |
JUST_UNSTABLE
to be set in .env
set unstable
setting
I haven't thought too hard about |
I just started using
Given my original request, I'm guessing I could do something like this if I still wanted to use env vars with set unstable := env_var_or_default('ENABLE_UNSTABLE_FEATURES', 'false'); |
Huh? 😕 The "users" in this case are justfile authors. Only users who specifically want "unstable" (which IIUC in this context only means "maybe subject to backwards-incompatible breaking changes") functionality would enable the setting. The only thing "automatic" about it is that using this particular justfile wouldn't require passing
Setting values can't be expressions. |
I was thinking of project collaborators who would get this flag enabled after the justfile is shared in git. But again, it probably isn't an issue. |
@FelixZY As a "quick" fix, I suggest using Works like a charm on my box, though it's kind of global and not local. While I believe the Sure, it's a bother to provide a CLI tool written in just and say "hey ! you need to enable The use case that bothers me is that I like to dump Justfiles in my git repos and just run This is the only use case I can think of where You can always make the root Justfile of the repo executable with an unstable shebang, and run But I may need to use However, I do not really see the value of the unstable behaviour being local and not global. Weirdly enough, I think the following ugly solution is less ugly than it seems: Use an |
Done in #2237 ? |
Yup! Thanks for reminding me. |
It seems
just
does not recognizeJUST_UNSTABLE
if it is set using a.env
file.The text was updated successfully, but these errors were encountered: