-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
33 lines (31 loc) · 1.13 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "hummingbird-redis",
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17)],
products: [
.library(name: "HummingbirdRedis", targets: ["HummingbirdRedis"])
],
dependencies: [
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.5.0"),
.package(url: "https://github.com/swift-server/RediStack.git", from: "1.4.0"),
],
targets: [
.target(
name: "HummingbirdRedis",
dependencies: [
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "RediStack", package: "RediStack"),
]
),
.testTarget(
name: "HummingbirdRedisTests",
dependencies: [
.byName(name: "HummingbirdRedis"),
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "HummingbirdTesting", package: "hummingbird"),
]
),
]
)