-
Notifications
You must be signed in to change notification settings - Fork 454
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
Documentation: Relative path issue with justfile_directory()
#2217
Comments
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 TL;DR: It'd be great to have an option to treat all paths in a submodule relative to the directory containing the root |
Thanks for the report! Fixing it in #2219.
This would definitely be a good settting. Can you open a separate issue for it? |
Awesome, thanks for the quick fix. I've opened issue #2222. |
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: