-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
38 lines (37 loc) · 1.19 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
// swift-tools-version:5.6
import PackageDescription
let package = Package(
name: "JXHost",
platforms: [ .macOS(.v12), .iOS(.v15), .tvOS(.v15) ],
products: [
.library(name: "JXHost", targets: ["JXHost"]),
.library(name: "JXHostUI", targets: ["JXHostUI"]),
],
dependencies: [
.package(url: "https://github.com/jectivex/JXBridge.git", from: "0.1.14"),
.package(url: "https://github.com/fair-ground/Fair.git", from: "0.8.26"),
],
targets: [
.target(
name: "JXHost",
dependencies: [
.product(name: "JXBridge", package: "JXBridge"),
.product(name: "FairCore", package: "Fair"),
],
resources: [.process("Resources")]),
.testTarget(
name: "JXHostTests",
dependencies: ["JXHost"],
resources: [.copy("TestResources")]),
.target(
name: "JXHostUI",
dependencies: [
"JXHost",
],
resources: [.process("Resources")]),
.testTarget(
name: "JXHostUITests",
dependencies: ["JXHostUI"],
resources: [.copy("TestResources")]),
]
)