aboutsummaryrefslogtreecommitdiff
path: root/Package.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Package.swift')
-rw-r--r--Package.swift15
1 files changed, 12 insertions, 3 deletions
diff --git a/Package.swift b/Package.swift
index 0e72b20..f0cb070 100644
--- a/Package.swift
+++ b/Package.swift
@@ -16,10 +16,16 @@ let package = Package(
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
+ .package(url: "https://github.com/apple/swift-nio-transport-services.git", from: "1.20.0")
+
],
targets: [
- // Targets are the basic building blocks of a package, defining a module or a test suite.
- // Targets can depend on other targets in this package and products from dependencies.
+ .target(
+ name: "GopherHelpers",
+ dependencies: [
+ .product(name: "NIOCore", package: "swift-nio")
+ ]
+ ),
.executableTarget(
name: "swift-gopher",
dependencies: [
@@ -29,12 +35,15 @@ let package = Package(
),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Logging", package: "swift-log"),
+ "GopherHelpers",
]
),
.target(
name: "swiftGopherClient",
dependencies: [
- .product(name: "NIO", package: "swift-nio")
+ .product(name: "NIO", package: "swift-nio"),
+ .product(name: "NIOTransportServices", package: "swift-nio-transport-services"),
+ "GopherHelpers"
]
),
.testTarget(