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
Legacy / Settings Relative Paths #981
Legacy / Settings Relative Paths #981
Conversation
…included projects
@yonaskolb I'd actually appreciate your input here on this "fix" before I add tests. It's something that'd benefit my use case, but I'm not sure if it's generally a good idea when including other yaml files, that we change the |
Hi @jcolicchio, thanks for this. Yeah I'm a bit hesitant to apply changes to |
@yonaskolb sounds good! I've undone my change to |
69078D1DA3F942D5BC752081 /* Sources */, | ||
); | ||
buildToolPath = /usr/bin/true; | ||
buildWorkingDirectory = .; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be AnotherProject
, or is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is correct — when generating AnotherProject directly from the AnotherProject folder, the working directory for the target is ‘.’, but when including it in another project in a different directory, that project’s target will have a working directory relative to the other project.
In other words, regardless of where the generated project ends up, the working directory for the target declared in this folder will evaluate to this folder
Fixes #979
This PR causes included yaml to adjust
LegacyTarget
'sworkingDirectory
to be relative to the including yaml file