-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
35 lines (33 loc) · 1.17 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "HealthDB",
platforms: [.iOS(.v16), .macOS(.v13), .watchOS(.v9)],
products: [
.library(
name: "HealthDB",
targets: ["HealthDB"]),
],
dependencies: [
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.14.1"),
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.25.2"),
.package(url: "https://github.com/christophhagen/HealthKitExtensions", from: "0.4.0"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
],
targets: [
.target(
name: "HealthDB",
dependencies: [
.product(name: "SQLite", package: "sqlite.swift"),
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "HealthKitExtensions", package: "HealthKitExtensions"),
],
exclude: [
"Model/ECG/ECGVoltageData.proto",
"Model/Workouts/EventMetadata.proto",
]),
.testTarget(
name: "HKDatabaseTests",
dependencies: ["HealthDB"]),
]
)