-
-
Notifications
You must be signed in to change notification settings - Fork 517
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 support for customizing project groups #268
Comments
For reference, one approach I attempted for this was in #257 The follow on from that could be via extending enum ProjectGroup: Hashable {
case root // or main
case group(name: String)
} The bit that required more thought was how to ensure the order of main group is maintained. A simple optioned that was attempted was requiring a separate |
Isn't this already done @kwridan ? |
Not yet, would like to add a |
@kwridan any news with it? |
@kwridan, do we have any good reason to keep |
Indeed it can be flattened to keep things easier* rather than offer the configuration option. When first migrating to leverage Tuist I thought it was odd and preferred not having the
* A while ago I attempted this but sadly hit an implementation detail issue which made it a bit trickier (needing to sort the main group ad-hoc at the end) but perhaps we'll find a simple way to achieve this. |
Is this still bountied? It doesn't appear to be added to Algora. |
💎 $100 bounty • TuistSteps to solve:
Thank you for contributing to tuist/tuist! |
Done @DandyLyons |
i would love to claim this, |
Currently generated projects have the following structure:
All project (and target) related files are included within the
Project
group. This is a great option to keep the root of the project clean and more manageable.Replicating the file system without an intermediary
Project
folder can sometimes be more favorablee.g.
A few motivations for this:
READMEs
andDocumentation
) some of those are traditionally found at the root of the projectProject
group could lead to errors where developers add new source files to it while developing as it may be confused with a folder on disk. Those files won't be part of the project when re-generating it, of course the same is true when adding to the root in either caseNote: Support for this could be considered for the generator library (#205)
Related
The text was updated successfully, but these errors were encountered: