-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
44 lines (42 loc) · 1.18 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
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "KeyValueCRDT",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.watchOS(.v6),
.tvOS(.v13),
],
products: [
.library(
name: "KeyValueCRDT",
targets: ["KeyValueCRDT"]
),
],
dependencies: [
.package(url: "https://github.com/groue/GRDB.swift", .upToNextMajor(from: "6.7.0")),
.package(url: "https://github.com/apple/swift-log", .upToNextMajor(from: "1.4.0")),
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.4.0"),
],
targets: [
.target(
name: "KeyValueCRDT",
dependencies: [
.product(name: "GRDB", package: "GRDB.swift"),
.product(name: "Logging", package: "swift-log"),
]
),
.executableTarget(
name: "kvcrdt",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"KeyValueCRDT",
]
),
.testTarget(
name: "KeyValueCRDTTests",
dependencies: ["KeyValueCRDT"]
),
]
)