-
Notifications
You must be signed in to change notification settings - Fork 731
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
Dependency automation for supported module types #2034
Comments
I'm marking this issue as "Todo" again as SPM support is all we're going to do for the first alpha release. Supporting the other dependency managers will come afterwards. |
A bit more detail on how we're changing support for dependency managers and the generated schema module. Initially we decided to support named implementations for Swift Package Manager, CocoaPods and Carthage. SPM is easy enough since the Package.swift file is fairly concise and we can generate all required metadata with what we know about the schema module. CocoaPods makes this more complicated with the podspec format which would require us to gather a lot more detail from the user for the metadata. Carthage takes this a step further and requires an Xcode project file. 😢 Instead of growing the already large codegen configuration struct we've opted to support 'other' dependency managers by requiring the user to create the infrastructure needed, such as the podspec for CocoaPods or the Xcode project for Carthage. Combine that with the generated schema module files output to a location of the user's choosing and we can support a much wider range of dependency managers than we can write specific implementations for. |
I'm closing this issue as done and tracking the last item (Swift Package Manager - snippet) in #2236, if we want to slot it into any of the 1.0 milestones. |
This task is one of the final steps in code generation; to take the generated schema files and package them together in the required dependency manager format.
The text was updated successfully, but these errors were encountered: