-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathPackage.swift
61 lines (59 loc) · 1.51 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
59
60
61
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "vital-ios",
platforms: [
.iOS(.v14)
],
products: [
.library(
name: "VitalHealthKit",
targets: ["VitalHealthKit"]),
.library(
name: "VitalDevices",
targets: ["VitalDevices"]),
.library(
name: "VitalCore",
targets: ["VitalCore"]),
],
dependencies: [
.package(name: "CombineCoreBluetooth", url: "https://github.com/StarryInternet/CombineCoreBluetooth.git", from: "0.3.0"),
.package(url: "https://github.com/WeTransfer/Mocker.git", .upToNextMajor(from: "2.6.0")),
],
targets: [
.target(
name: "VitalHealthKit",
dependencies: ["VitalCore"]
),
.target(
name: "VitalDevices",
dependencies: ["CombineCoreBluetooth", "VitalCore"],
exclude: [
"./LICENSE",
]
),
.target(
name: "VitalCore",
dependencies: ["VitalLogging"],
exclude: [
"./Get/LICENSE",
"./DataCompression/LICENSE",
"./Keychain/LICENSE"
]
),
.target(
name: "VitalLogging",
exclude: ["./LICENSE.txt", "./README.txt"]
),
.testTarget(
name: "VitalHealthKitTests",
dependencies: ["VitalHealthKit"]),
.testTarget(
name: "VitalCoreTests",
dependencies: ["VitalCore", "Mocker"]),
.testTarget(
name: "VitalDevicesTests",
dependencies: ["VitalDevices"]),
]
)