-
Notifications
You must be signed in to change notification settings - Fork 503
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
"error: Variable project_name
has multiple definitions" when importing justfiles
#1827
Comments
I'm not sure I understand, can you copy and paste your justfiles so I can take a look? |
Not at my computer right now, but, it's something like this:
x := `basename {{justfile_directory()}}` Where
import "../a/justfile"
x := `basename {{justfile_directory()}}` Where |
Gotcha. I think that |
I marked this as good first issue, in case anyone wants to take a crack at it. |
Wish I could help, but I know nothing of rust, though I've been wanting to learn it for a while! 😅 |
Can this be closed as completed? |
I have not tested the changes yet, as I'm working on something else at the moment, unfortunately! 😅 We could possibly reopen it if necessary? |
I am just using it ^^ I landed here trying to find out why it didn't work before |
Then we should be good to go, I think! My thanks to everyone involved here! 😸 |
Hello!
I am getting the error in the title when trying to import a
justfile
with the same variable as in the parent file; is there any setting, perhaps similar toallow-duplicate-recipes
, that works for variables as well, such asallow-duplicate-variables
, maybe?Thank you kindly for the help!
The text was updated successfully, but these errors were encountered: