-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
Add support for copy files phase #2077
Conversation
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.
Thanks for doing this! I have some initial remarks, maybe adding a fixture for the new API would help me understand some steps you have taken (especially the UTI handling)
Adding a little bit more of context to this. On iOS apps everything is bundled under Many times these files are packages, basically a folder with a custom extension like That's why I believe having the |
Will do that! |
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.
It's looking great @hebertialmeida. Very solid work and consistent with the rest of the codebase 👏. I'm looking forward to seeing this feature on Tuist.
One more suggestion that I'd make is to make sure to update the CHANGELOG and the documentation website.
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.
Nice work on this @hebertialmeida - thanks for adding this!
@fortmarek and @pepibumur have covered most points, one addition to help us test this locally and show case this feature is to introduce a new fixture in fixtures/
that exercises the new additions.
I'm seeing the linter fail in lines I haven't touched, is that normal? Should I just fix it? |
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.
I'm seeing the linter fail in lines I haven't touched, is that normal? Should I just fix it?
I think the linter flags any issues on the file level rather than the diff - should be ok to fix it. There are a few rake tasks to run the same checks as CI
bundle exec rake style_correct
Moved cleanPackages to ManifestMapper to avoid inconsistency between `ProjectFileElements` and `BuildPhaseGenerator` as per @kwridan’s suggestion
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.
Thanks for all the updates @hebertialmeida - the PR is looking great!
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.
Thank you very much @hebertialmeida for addressing the comments. There's only one more thing and we can merge the PR afterward, adding documentation. Since we are changing the public API that users have access to, I'd recommend updating this page to indicate that targets have now an attribute, and what the attribute is for.
@pepibumur I couldn't determine any contributions to add, did you specify any contributions? |
@all-contributors add @hebertialmeida for code |
@pepibumur I've put up a pull request to add @hebertialmeida! 🎉 |
@pepibumur @fortmarek @kwridan thanks for the guidance and @natanrolnik for helping me build the project! I have updated the documentation and will merge that after all checks pass. |
I can't merge it, so please merge it when you can... |
Resolves #2075
Short description 📝
Solution 📦
Implementation 👩💻👨💻
Sample usage: