yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distribute executable with cocoapods

felginep opened this issue Β· comments

It would be nice to distribute the swaggen executable via cocoapods like this is done for swiftlint for example

I second this. Are there any plans to do this @yonaskolb ? πŸ™ Or am I missing something in the setup instructions?
I don't want to install via brew because I want to set the version I'm installing, and via SPM I don't get access to the binary AFAICT πŸ€”

So what I've done with other dependencies (e.g. SwiftLint, SwiftFormat) is just use CocoaPods to control the version we're installing (to make sure it's in git scm, that the version can be rollbacked, everyone is on the same version, etc), following good practices of https://ios-factor.com/dependencies

I really appreciate any input here πŸ™

Moreover, I'm more than happy to open a PR with a podspec, but the key factor here is whether the maintainers of the project will update push the update to cocoapods on every new release 😁 unlike SPM, cocoapods is not a fully distributed system haha πŸ™ˆ