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

Document manifest files #6197

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Document manifest files #6197

merged 2 commits into from
Apr 16, 2024

Conversation

pepicrft
Copy link
Contributor

As part of the documentation revamp, I forgot to include a page explaining the different supported manifest files. This PR includes that page and also provides some guidelines for deciding between "mono or multi-project" setups, which is a recurrent question asked by users.

@pepicrft pepicrft requested a review from a team April 16, 2024 08:57
@pepicrft pepicrft self-assigned this Apr 16, 2024
@pepicrft pepicrft requested review from fortmarek and kwridan and removed request for a team April 16, 2024 08:57
Comment on lines +29 to +31

> [!WARNING] ROOT VARIABLES
> The only variable that should be at the root of the manifest is `let project = Project(...)`. If you need to reuse code across various parts of the manifest, you can use Swift functions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this? We have a lot of top-level variable and never had issues with it AFAIK

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure. I'll have to investigate the next time we get a report.

Comment on lines 49 to 50
> [!NOTE]
> Tuist will resolve the dependency graph and include the projects of the dependencies in the workspace. You don't need to include them manually.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should explain what's the point of defining them here then

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I added an additional sentence clarifying that.

@pepicrft pepicrft merged commit 5e5536d into main Apr 16, 2024
4 of 8 checks passed
@pepicrft pepicrft deleted the document-manifests branch April 16, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants