teufelaudio/swiftpackageacknowledgement
Creates a PLIST file out of a Swift Package Manager resolved JSON, including
How to use
Without GitHub token
> swift run spm-ack generate-plist ~/MyProject/MyProject.xcworkspace ~/MyProject/Resources/SwiftPackageManager.plistWith GitHub token
> swift run spm-ack generate-plist ~/MyProject/MyProject.xcworkspace ~/MyProject/Resources/SwiftPackageManager.plist MyClientID MyClientTokenFuture plans
Instead of using CocoaPods PLIST as output, we plan to have our own JSON and allow this script to also convert CocoaPods PLIST into this JSON format. The benefit is allowing more information to be stored in the JSON, such as GitHub etag to avoid fetching when this is not needed. The drawback is that this will break compatibility with other Acknowledgement ViewControllers implementations, and we'll need to provide a new one. To avoid that, when this is implemented, both options will be available for you to choose.
Also it's planned to support other SPM sources such as BitBucket or GitLab, but this is not our first priority at this point, so please feel free to contribute in case this is useful for you.
Package Metadata
Repository: teufelaudio/swiftpackageacknowledgement
Default branch: master
README: README.md