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
Adding ability to re-generate individual projects #457
Conversation
β¦tor` - This is useful when iterating on a single project that is part of an existing workspace - It prevents accidentally re-generating dependencies that may have been modified (either manually or via Xcode's automated re-formats e.g. tuist#425)
Happy to change to |
Generated by π« Danger |
Codecov Report
@@ Coverage Diff @@
## master #457 +/- ##
=========================================
+ Coverage 92.07% 92.1% +0.03%
=========================================
Files 319 319
Lines 16487 16552 +65
=========================================
+ Hits 15180 15246 +66
+ Misses 1307 1306 -1
Continue to review full report at Codecov.
|
I'm more inclined towards |
This stackexchange answer goes into some detail about the issue: https://english.stackexchange.com/questions/173239/only-requires-or-requires-only |
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.
Really nice work π This is a great feature.
Thanks for the feedback @pepibumur & @ollieatkinson Having looked at some other command line examples such as clang --cuda-device-only and curl --list-only we can stick with |
Resolves #452
Short description π
To support workflows where only the local project needs to be re-generated without re-generating all its dependencies a new generation option is needed (see #452 for full rationale)
Solution π¦
Add a new option to generate the local project only.
usage:
Implementation π©βπ»π¨βπ»
--project-only
Test Plan π
tuist generate
withinfixtures/ios_app_with_custom_workspace
tuist generate
withinfixtures/ios_app_with_custom_workspace/App
tuist generate --project-only
withinfixtures/ios_app_with_custom_workspace/App
App
's project re-generated (this can be done by either doing a git clean before running the command and then verifying that the only Xcode project is forApp
or by manually modifying any of the projects and verifying they don't update)