Skip to content

Commit 665fc63

Browse files
r-mckayfreak4pc
authored andcommitted
Package.swift: bump swift-tools-version to 5.3 and hide tests dependencies
This commit is meant to hide CombineSchedulers from the project using CombineExt. Before it, a project would import: - combine-schedulers - CombineExt - xctest-dynamic-overlay After this commit, a project now imports: - CombineExt In order to do so, we bumped swift-tools-version to 5.3 and altered the test target expression.
1 parent 9c00a52 commit 665fc63

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Package.swift

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.3
22

33
import PackageDescription
44

@@ -15,7 +15,12 @@ let package = Package(
1515
],
1616
targets: [
1717
.target(name: "CombineExt", dependencies: [], path: "Sources"),
18-
.testTarget(name: "CombineExtTests", dependencies: ["CombineExt", "CombineSchedulers"], path: "Tests"),
18+
.testTarget(name: "CombineExtTests",
19+
dependencies: [
20+
"CombineExt",
21+
.product(name: "CombineSchedulers", package: "combine-schedulers")
22+
],
23+
path: "Tests"),
1924
],
2025
swiftLanguageVersions: [.v5]
2126
)

0 commit comments

Comments
 (0)