BottleRocketStudios / iOS-Hyperspace

An extremely lightweight wrapper around URLSession to make working with APIs a breeze.
Apache License 2.0
47 stars 17 forks source link

Add SPM Support #102

Closed ganttastic closed 5 years ago

ganttastic commented 5 years ago

Testing Package.swift file with travis build. Using swift build to validate package.

codecov-io commented 5 years ago

Codecov Report

Merging #102 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #102   +/-   ##
=======================================
  Coverage   94.62%   94.62%           
=======================================
  Files          46       46           
  Lines        1543     1543           
=======================================
  Hits         1460     1460           
  Misses         83       83

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9cb077d...ca50a71. Read the comment docs.

ganttastic commented 5 years ago

@tylermilner / @wmcginty - I've added Swift Package Manager support to Hyperspace. It works nicely in Xcode 11! I'm using the swift build command to test that the package is configured correctly. Similar to Carthage, there aren't really "subspecs". We could split it out into separate modules and targets, but I didn't see the need as it would require making internal classes public to interop. Let me know what you guys think!

ganttastic commented 5 years ago

@wmcginty Needed to add changelog and readme updates, so that dismissed your review.