-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
50 lines (48 loc) · 1.46 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
50
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "PTYProcess",
platforms: [
.macOS(.v10_15),
.macCatalyst(.v13),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6),
],
products: [
.library(
name: "PTYProcess",
targets: ["PTYProcess"]
),
.library(
name: "PTYProcess+Foundation",
targets: ["PTYProcess_Foundation"]
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-async-algorithms", from: "0.0.2"),
.package(url: "https://github.com/CharlesJS/CSErrors", from: "1.1.0"),
.package(url: "https://github.com/CharlesJS/XCTAsyncAssertions", from: "0.2.0"),
.package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", from: Version("2.0.0"))
],
targets: [
.target(
name: "PTYProcess",
dependencies: [
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
"CSErrors"
]
),
.target(
name: "PTYProcess_Foundation",
dependencies: [
"PTYProcess",
.product(name: "CSErrors+Foundation", package: "CSErrors")
]
),
.testTarget(
name: "PTYProcessTests",
dependencies: ["PTYProcess_Foundation", "XCTAsyncAssertions", "CwlPreconditionTesting"]
)
]
)