Skip to content

Commit

Permalink
Remove swift-test support
Browse files Browse the repository at this point in the history
Swift Package Manager doesn't hide test dependencies from transitive
dependencies. It _also_ doesn't support using branch-based dependencies for
stable releases. This means that if another library (Argo) depends on this
library, it will blow up when trying to build because it sees an incompatible
dependency (SwiftCheck pointed at a branch) even though that dependency is
_only_ used for testing.

This is super unfortunate, but there's no way around it currently. In order to
fix the ability to use Runes as a transitive dependency, we need to also
remove the dependency on SwiftCheck, which means we need to drop support for
`swift-test`.
  • Loading branch information
gfontenot committed Mar 19, 2019
1 parent 05ea064 commit a35975b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
25 changes: 0 additions & 25 deletions Package.resolved

This file was deleted.

10 changes: 0 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@ let package = Package(
products: [
.library(name: "Runes", targets: ["Runes"])
],
dependencies: [
.package(url: "[email protected]:CodaFi/SwiftCheck.git", .branch("fivel"))
],
targets: [
.target(name: "Runes"),
.testTarget(
name: "RunesTests",
dependencies: [
"Runes",
"SwiftCheck",
]
),
]
)

0 comments on commit a35975b

Please sign in to comment.