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
Support justfile-wide configuration options #361
Comments
I'm planning on adding a new I'm open to adding anything that's useful, but allowing users to set an interpreter on a per-justfile basis seems important enough that adding settings feels worth it just for that. Setting the shell will be done with:
Of course, using a more exotic interpreter will be possible:
Because this particular setting controls how backticks are executed, it seems wise to prohibit backticks in values:
Although it would be possible to change the shell after evaluating the RHS of The In the PR that adds this feature, I'll also deprecate The new spelling for these items will be:
This PR will close a few issues: #161: Remove dependency on #326: Support cmd.exe on windows – Windows users will be able to use #379: Assignments and aliases conflicts with default arguments – With the introduction of |
Note to self: Should also deprecate |
I just released v0.5.0, which includes the ability to set the shell used for recipes and backticks on a justfile-wide basis. This gives just rudimentary support for cmd.exe and powershell, by adding set shell := ["cmd.exe", "/c"] or set shell := ["powershell", "-c"]. (see #530 and the readme for more details) I hope the new |
Also, now that there's a |
@slmjkdbtl requested the ability to set the default interpreter for the entire justfile, which seems reasonable. It seems like some syntax for setting justfile-wide configuration options would be useful, and this could be such option.
The text was updated successfully, but these errors were encountered: