-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
51 lines (48 loc) · 1.27 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "Logbot",
platforms: [
.iOS(.v16),
.macOS(.v13)
],
products: [
.library(name: "LogbotCore", targets: ["LogbotCore"]),
.executable(name: "LogbotCapture", targets: ["LogbotCaptureApp"]),
.executable(name: "LogbotControl", targets: ["LogbotControlApp"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0")
],
targets: [
// Core Framework
.target(
name: "LogbotCore",
dependencies: [
.product(name: "Logging", package: "swift-log")
]
),
// iOS Capture App
.target(
name: "LogbotCapture",
dependencies: [
"LogbotCore"
]
),
.executableTarget(
name: "LogbotCaptureApp",
dependencies: ["LogbotCapture"]
),
// macOS Control App
.target(
name: "LogbotControl",
dependencies: [
"LogbotCore"
]
),
.executableTarget(
name: "LogbotControlApp",
dependencies: ["LogbotControl"]
)
]
)