-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
61 lines (60 loc) · 1.75 KB
/
Package.swift
File metadata and controls
61 lines (60 loc) · 1.75 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// swift-tools-version:6.2
import PackageDescription
let package = Package(
name: "OpenTDFKit",
platforms: [
.iOS(.v18),
.macOS(.v14),
.tvOS(.v18),
.watchOS(.v11),
],
products: [
.library(
name: "OpenTDFKit",
targets: ["OpenTDFKit"],
),
.executable(
name: "OpenTDFKitProfiler",
targets: ["OpenTDFKitProfiler"],
),
.executable(
name: "OpenTDFKitCLI",
targets: ["OpenTDFKitCLI"],
),
],
dependencies: [
.package(url: "https://github.com/krzyzanowskim/CryptoSwift", from: "1.8.0"),
.package(url: "https://github.com/weichsel/ZIPFoundation", from: "0.9.0"),
.package(url: "https://github.com/valpackett/SwiftCBOR", from: "0.4.0"),
],
targets: [
.target(
name: "OpenTDFKit",
dependencies: [
"CryptoSwift",
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
.product(name: "SwiftCBOR", package: "SwiftCBOR"),
],
path: "OpenTDFKit",
),
.executableTarget(
name: "OpenTDFKitProfiler",
dependencies: ["OpenTDFKit"],
path: "OpenTDFKitProfiler",
),
.testTarget(
name: "OpenTDFKitTests",
dependencies: ["OpenTDFKit"],
path: "OpenTDFKitTests",
),
.executableTarget(
name: "OpenTDFKitCLI",
dependencies: ["OpenTDFKit"],
path: "OpenTDFKitCLI",
exclude: ["REQUIREMENTS_XTEST.md", "INTEGRATION.md"],
swiftSettings: [
.unsafeFlags(["-parse-as-library"]),
],
),
],
)