-
-
Notifications
You must be signed in to change notification settings - Fork 508
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 ability to control scheme generation modes #458
Comments
What about something along the lines of: let config = TuistConfig(generationOptions: [
.schemes([
.all: .none,
.project("FrameworkX"): .custom,
.project("MyApp"): .custom
])
]) That way the schemes generation could be configured in a per-project basis. I think the type that we create to indicate which projects configuration applies can be reused by other configuration options: enum TuistConfigurationProject: Hashable {
case all
case project(String)
} |
Would be really nice to get something like this! I don't really have an opinion about how it should be specified, but I think it would be nice if Tuist will create a combined scheme for frameworks, so we don't have a FrameworkScheme and FrameworkTestsScheme for each and every framework in the workspace. |
I would like to contribute on this one, but I have only been playing around with Tuist for now. Do you have any suggestion on how I could get started contributing to this feature? |
Hi @sgrgrsn! I'm glad to hear you're interested in contributing to Tuist! @pepibumur has put together a fantastic contributors guide to help them get started which you can find on https://docs.tuist.io/contribution-tuist Once you've got Tuist up and running locally you can have browse through the source code. There have been a few PRs to update schemes recently, those should help show cases the components that would need modifications to support such feature:
The primary component is the Feel free to ask questions either here or on Slack (https://slack.tuist.io). |
Thanks - I'll have a look at it as soon as possible 👍 |
Implemented in 3.0 |
Need/problem
In a large project, generating the entire workspace can yield several schemes, one for each target. Often times projects contain one primary target and a few supporting targets such as a test targets.
Tuist has the ability to generate custom schemes which allows developers to specify a scheme to group all targets, however currently this is additive (i.e. Tuist default scheme per target + custom schemes).
To reduce the noise this may generate it would be great to have a mechanism to control the behavior of those default schemes.
Ideas
Changing schemes type
Adding a separate configuration option
Still needs some more thought on how how best to achieve this and which options are most useful.
Alternatives
Manually specify each of the target un-desired schemes, mark them as non-shared and add
xcuserdata
to.gitignore
e.g.
Sadly those schemes will still be visible in Xcode
Previous use cases
The text was updated successfully, but these errors were encountered: