-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
50 lines (48 loc) · 1.63 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "Yorkie",
platforms: [.iOS(.v13), .macOS(.v13)],
products: [
.library(
name: "Yorkie",
targets: ["Yorkie"]
)
],
dependencies: [
.package(url: "https://github.com/connectrpc/connect-swift", from: "0.13.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.0"),
.package(url: "https://github.com/groue/Semaphore.git", from: "0.0.8"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
],
targets: [
.target(
name: "Yorkie",
dependencies: [.product(name: "Connect", package: "connect-swift"),
.product(name: "Logging", package: "swift-log"),
.product(name: "Semaphore", package: "Semaphore")],
path: "Sources",
exclude: ["Info.plist",
"API/V1/yorkie/v1/resources.proto",
"API/V1/yorkie/v1/yorkie.proto",
"API/V1/buf.gen.yaml",
"API/V1/buf.yaml",
"API/V1/run_protoc.sh"]
),
.testTarget(
name: "YorkieUnitTests",
dependencies: ["Yorkie"],
path: "Tests/Unit"
),
.testTarget(
name: "YorkieIntegrationTests",
dependencies: ["Yorkie"],
path: "Tests/Integration"
),
.testTarget(
name: "YorkieBenchmarkTests",
dependencies: ["Yorkie"],
path: "Tests/Benchmark"
)
]
)