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
By the way: is there a way to always let commands be treated from the point where the root justfile sits, even from within recipes in submodules? That is, in my submodule that resides in .config/commands/, I don't want to start my commands with cd {{justfile_directory()}} all the time. Note that [no-cd] is not achieving what I mean.
TL;DR: It'd be great to have an option to treat all paths in a submodule relative to the directory containing the root .justfile.
casey
linked a pull request
Jul 4, 2024
that will
close
this issue
Here in the docs, you describe that one could run the following:
However,
justfile_directory()
gives the absolute path. Therefore, the command will fail as the path starts with.//
and not./
.There's an easy fix, just remove the prefix
./
:The text was updated successfully, but these errors were encountered: