Skip to content

Commit 3fbc48f

Browse files
authored
Update package.swift for swift 5.7 (#261)
* Update package.swift for swift 5.9 * Moved to 5.7 due to github update backlog.
1 parent f1bf66a commit 3fbc48f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Package.swift

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.3
1+
// swift-tools-version:5.7
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
@@ -20,18 +20,16 @@ let package = Package(
2020
dependencies: [
2121
// Dependencies declare other packages that this package depends on.
2222
// .package(url: /* package url */, from: "1.0.0"),
23-
.package(
24-
name: "Sovran",
25-
url: "https://github.com/segmentio/Sovran-Swift.git",
26-
from: "1.1.0"
27-
)
23+
.package(url: "https://github.com/segmentio/sovran-swift.git", from: "1.1.0")
2824
],
2925
targets: [
3026
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
3127
// Targets can depend on other targets in this package, and on products in packages this package depends on.
3228
.target(
3329
name: "Segment",
34-
dependencies: ["Sovran"]),
30+
dependencies: [
31+
.product(name: "Sovran", package: "sovran-swift")
32+
]),
3533
.testTarget(
3634
name: "Segment-Tests",
3735
dependencies: ["Segment"]),

0 commit comments

Comments
 (0)