-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
54 lines (52 loc) · 1.62 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
// swift-tools-version:5.4
import PackageDescription
let package = Package(
name: "OBSwiftSocket",
platforms: [
.iOS(.v13),
.macOS(.v10_15)
],
products: [
.library(
name: "OBSwiftSocket",
targets: ["OBSwiftSocket"]),
],
dependencies: [
.package(url: "https://github.com/edonv/JSONValue.git",
.branch("main")),
.package(url: "https://github.com/edonv/WSPublisher.git",
.branch("main")),
.package(url: "https://github.com/hirotakan/MessagePacker.git",
.upToNextMajor(from: "0.0.0")),
.package(url: "https://github.com/edonv/CommonExtensions.git",
.branch("main")),
.package(url: "https://github.com/edonv/AsyncCompatibilityKit.git",
.branch("main")),
],
targets: [
.target(
name: "OBSwiftSocket",
dependencies: [
"JSONValue",
"WSPublisher",
"MessagePacker",
"AsyncCompatibilityKit",
.product(name: "CombineExtensions", package: "CommonExtensions")
],
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.executableTarget(
name: "Scripts",
dependencies: ["JSONValue"],
resources: [
.copy("Resources")
]
),
.testTarget(
name: "OBSwiftSocketTests",
dependencies: [
"OBSwiftSocket",
.product(name: "CombineExtensions", package: "CommonExtensions")
]),
]
)