SwagGen icon indicating copy to clipboard operation
SwagGen copied to clipboard

Distribute executable with cocoapods

Open felginep opened this issue 4 years ago • 2 comments

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

felginep avatar Jan 21 '21 10:01 felginep

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 🙏

rogerluan avatar Jun 22 '21 12:06 rogerluan

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 🙈

rogerluan avatar Jun 22 '21 12:06 rogerluan