Commands like tuist build
and tuist generate
support passing arguments that represent the targets a developer wants to focus on. While the target level of granularity gives developers a lot of control, it puts them in a position of having to script around Tuist to be able to pass a group of tagets that have a semantic meaning. Here are some scenarios:
- I'd like to focus on all the targets of a project
- I'd like to focus only on the external targets
- I'd like to focus only on the test targets
- I'd like to focus only on the targets with a given tag
This has come up several times, so I'm taking the time to write down how I'd approach it if I was about to implement it as a first time contributor.
First of all, make sure you've read the Get started guidelines for contributors. At the end of it, you should be able to run tuist
through the scheme in the Xcode project. Once you are familiar with that, I recommend loooking at the [generate command](ht