Added the hummingbird package dependency to the Package file ans attached its products to the library and tests targets.
This commit is contained in:
@@ -17,15 +17,22 @@ let package = Package(
|
||||
targets: [DocCMiddleware.target]
|
||||
),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0")
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: DocCMiddleware.target,
|
||||
dependencies: [
|
||||
.product(name: "Hummingbird", package: "hummingbird"),
|
||||
],
|
||||
path: "Sources/DocCMiddleware",
|
||||
swiftSettings: [.enableExperimentalFeature("StrictConcurrency=complete")]
|
||||
),
|
||||
.testTarget(
|
||||
name: DocCMiddleware.test,
|
||||
dependencies: [
|
||||
.product(name: "HummingbirdTesting", package: "hummingbird"),
|
||||
.byName(name: DocCMiddleware.target)
|
||||
],
|
||||
path: "Tests/DocCMiddleware"
|
||||
|
||||
Reference in New Issue
Block a user