-
Notifications
You must be signed in to change notification settings - Fork 39
feat: Add support for buildable folder exceptions #308
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
Conversation
fortmarek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
apps4everyone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
| /// - path: The absolute path to the buildable folder. | ||
| /// - exceptions: The set of exceptions (such as excluded files or custom compiler flags) for the folder. | ||
| /// - resolvedFiles: The list of files resolved from the folder, each file optionally having compiler flags. | ||
| public init(path: AbsolutePath, exceptions: BuildableFolderExceptions, resolvedFiles: [BuildableFolderFile]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe it's possible to have a default init (as right now) and a convenience one with the new params? or make them optional with fallback values in the init? This would not beak all projects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not an interface you directly interact with in your Project.swift manifests if that's what you're worried about
Targets' buildable folders support exceptions, which are a mechanism to:
This PR adds the data structure changes to add support for these features in our generated projects.