-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
58 lines (53 loc) · 1.42 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
51
52
53
54
55
56
57
58
// 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: "SwiftUI-UDF",
platforms: [
.iOS(.v16),
.macOS(.v13),
],
products: [
.library(
name: "UDF",
targets: ["UDF"]
),
.library(
name: "UDFXCTest",
targets: ["UDFXCTest"]
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-collections", from: "1.1.4"),
.package(url: "https://github.com/urlaunched-com/Runtime", from: "2.2.6"),
],
targets: [
.target(
name: "UDF",
dependencies: [
.product(name: "OrderedCollections", package: "swift-collections"),
.product(name: "Runtime", package: "Runtime"),
],
path: "UDF"
),
.target(
name: "UDFXCTest",
dependencies: [
.target(name: "UDF"),
],
path: "UDFXCTest"
),
.testTarget(
name: "SwiftUI-UDF-Tests",
dependencies: [
.target(name: "UDFXCTest"),
]
),
.testTarget(
name: "SwiftUI-UDF-ConcurrencyTests",
dependencies: [
.target(name: "UDFXCTest"),
]
),
]
)