You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use set working-directory in a child module and the value contains an expression, the following error occurs:
error: Backtick could not be run because just could not find the shell:
No such file or directory (os error 2)
The expression itself seems to be irrelevant, as I tried both set working-directory := '{{ "." }}' and set working-directory := '{{ justfile_directory() }}'. However, it works without the expression, i.e. set working-directory := '.'
I need this for Terraform/Ansible where relative paths are important for correct file lookups but at the same time I need to ensure that each just module has its own settings (i.e. to avoid env var clashes).
Update: The same goes for using the attribute [working-directory: '{{ BASE_DIR }}/path'].
PS: I just read about Werk which seems to draw a lot of inspiration from just. Maybe some improvements there could be valuable features for just as well.
The text was updated successfully, but these errors were encountered:
Description
When I use
set working-directory
in a child module and the value contains an expression, the following error occurs:The expression itself seems to be irrelevant, as I tried both
set working-directory := '{{ "." }}'
andset working-directory := '{{ justfile_directory() }}'
. However, it works without the expression, i.e.set working-directory := '.'
I need this for Terraform/Ansible where relative paths are important for correct file lookups but at the same time I need to ensure that each just module has its own settings (i.e. to avoid env var clashes).
Example
Versions
Just: 1.38.0
OS: macOS 15.2
Update: The same goes for using the attribute
[working-directory: '{{ BASE_DIR }}/path']
.PS: I just read about Werk which seems to draw a lot of inspiration from
just
. Maybe some improvements there could be valuable features forjust
as well.The text was updated successfully, but these errors were encountered: