Papyrus
Papyrus copied to clipboard
feat: prep for Linux, Windows, and Android support
Hey @reddavis, just saw your framework earlier today on Swift Package Index and I think it's promising, great work!
I think this can be very useful for those who use ParseSwift.
Please have a look at this PR for preparing the project for adding Linux, Windows, and Android support. There are some methods used related to DispatchSource that won't allow for building on Linux, Windows, and Android. In the future if these become supported or if there are other methods used, this framework can work on those OS's.
Let me know what you think...
Updates in this PR:
- [x] Only build
CombineandLoggerfunctionality on Apple Platforms. - [x] Bump Swift tools to 5.5. This will allow you to add DocC support directly along with other things
- [x] Add tvOS and watchOS to
Package.swift, the tests pass locally for these. You might want to add builds for these in a future PR - [x] Add Linux and Windows to the CI (commented out for now). This shows what prevents the build. Let me know if you want me to remove these
- [x] Add Codecov
- [x] Fix a warning in
Package.swift
Not sure what's wrong with the SPM build as it builds locally, but I can't get it working in the CI, so I commented it out.
As for Linux and Windows, you can see code needs to be updated to get build/test working here. I commented out Linux and Windows in the CI just incase you want to build test in the future.