-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.swift
31 lines (29 loc) · 919 Bytes
/
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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "RedisConnection",
platforms: [
.iOS("17.0"),
.macOS("12.0"),
.macCatalyst("17.0"),
],
products: [
.library(name: "RedisConnection", targets: ["RedisConnection"]),
],
targets: [
.executableTarget(
name: "CLI",
dependencies: ["RedisConnection"],
swiftSettings: [.unsafeFlags(["-Xfrontend", "-warn-concurrency", "-Xfrontend", "-enable-actor-data-race-checks"])]
),
.target(
name: "RedisConnection",
swiftSettings: [.unsafeFlags(["-Xfrontend", "-warn-concurrency", "-Xfrontend", "-enable-actor-data-race-checks"])]
),
.testTarget(
name: "RedisConnectionTests",
dependencies: ["RedisConnection"],
resources: [.copy("foo.dat")]
),
]
)