Skip to content
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

Specify output/destination for generate command. #6269

Open
jakeatoms opened this issue May 9, 2024 · 1 comment
Open

Specify output/destination for generate command. #6269

jakeatoms opened this issue May 9, 2024 · 1 comment
Labels
type:need/problem Report needs or problems you came across that are not bugs

Comments

@jakeatoms
Copy link
Contributor

What problem or need do you have?

Summary

When running generate using the --path argument, the resulting xcworkspace is given a name and location that is the project from the --path argument. My team would find it quite beneficial to have an optional argument like --output that would allows us to name and place the xcworkspace.

Background

We have a Workspace.swift manifest file at the root of the project. Due to some needs arising on the team, this is going to become a CI-only workspace. We're transitioning to using commands like tuist generate --path Path/To/App1 for local development; allowing Tuist to walk the graph and generate a local, focused workspace.

Reasoning

We have a large team and a growing monorepo, so being able to standardize on a top-level xcworkspace really helps simplify our docs, guidance, and general workflows.

Potential solution

Adding an optional argument to the generate command that would be used to override the default location and name of the generated workspace, when not generating from a Workspace.swift file.

macOS version

14.4

Tuist version

4.10.2

Xcode version

15.2

@jakeatoms jakeatoms added the type:need/problem Report needs or problems you came across that are not bugs label May 9, 2024
@pepicrft
Copy link
Contributor

@jakeatoms thanks for your suggestion. I'd need to understand your needs better to be able to provide you with a good path forward here:

Due to some needs arising on the team, this is going to become a CI-only workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:need/problem Report needs or problems you came across that are not bugs
Projects
None yet
Development

No branches or pull requests

2 participants