-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPackage.swift
More file actions
39 lines (36 loc) · 1.02 KB
/
Copy pathPackage.swift
File metadata and controls
39 lines (36 loc) · 1.02 KB
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
34
35
36
37
38
39
// swift-tools-version: 6.2
import PackageDescription
let concurrencySettings: [SwiftSetting] = [
.enableExperimentalFeature("StrictConcurrency"),
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
.enableUpcomingFeature("InferIsolatedConformances")
]
let package = Package(
name: "Catch",
platforms: [
.macOS(.v26)
],
products: [
.library(name: "CatchKit", type: .dynamic, targets: ["CatchKit"]),
.executable(name: "Catch", targets: ["Catch"])
],
targets: [
.target(
name: "CatchKit",
path: "Sources/Catch",
swiftSettings: concurrencySettings
),
.executableTarget(
name: "Catch",
dependencies: ["CatchKit"],
path: "Sources/CatchApp",
swiftSettings: concurrencySettings
),
.testTarget(
name: "CatchTests",
dependencies: ["CatchKit"],
swiftSettings: concurrencySettings
)
],
swiftLanguageModes: [.v6]
)