This repository has been archived by the owner on Jan 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
49 lines (45 loc) · 1.54 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// swift-tools-version:5.5
import PackageDescription
let settings: [SwiftSetting] = [
.unsafeFlags(["-Xfrontend", "-strict-concurrency=complete"])
]
let package = Package(
name: "ProcessService",
platforms: [.macOS(.v11)],
products: [
.library(name: "ProcessServiceServer", targets: ["ProcessServiceServer"]),
.library(name: "ProcessServiceClient", targets: ["ProcessServiceClient"]),
.library(name: "ProcessServiceContainer", targets: ["ProcessServiceContainer"]),
],
dependencies: [
.package(url: "https://github.com/ChimeHQ/ProcessEnv", from: "0.3.1"),
.package(url: "https://github.com/mattmassicotte/Queue", from: "0.1.3"),
.package(url: "https://github.com/ChimeHQ/AsyncXPCConnection", revision: "82a0eb00a0d881e6a65cad0acc031c1efd058d06"),
],
targets: [
.target(name: "ProcessServiceShared"),
.target(
name: "ProcessServiceServer",
dependencies: ["ProcessServiceShared", "ProcessEnv"],
swiftSettings: settings
),
.target(
name: "ProcessServiceClient",
dependencies: ["AsyncXPCConnection", "ProcessServiceShared", "ProcessEnv", "Queue"],
swiftSettings: settings
),
.binaryTarget(
name: "ProcessServiceContainer",
path: "ProcessServiceContainer.xcframework"
),
.testTarget(
name: "ProcessServiceClientTests",
dependencies: ["ProcessServiceClient", "ProcessServiceContainer"],
swiftSettings: settings
),
.testTarget(
name: "ProcessServiceServerTests",
dependencies: ["ProcessServiceServer"],
swiftSettings: settings),
]
)