-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
39 lines (38 loc) · 1.39 KB
/
Copy pathPackage.swift
File metadata and controls
39 lines (38 loc) · 1.39 KB
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
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "llvm-cas-server",
platforms: [
.macOS("15.0")
],
dependencies: [
.package(url: "https://github.com/grpc/grpc-swift-2.git", from: "2.3.0"),
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", from: "2.0.0"),
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", from: "2.5.0"),
.package(url: "https://github.com/groue/GRDB.swift.git", from: "6.27.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.11.0"),
],
targets: [
.executableTarget(
name: "Server",
dependencies: [
.product(name: "GRPCCore", package: "grpc-swift-2"),
.product(name: "GRPCProtobuf", package: "grpc-swift-protobuf"),
.product(name: "GRPCNIOTransportHTTP2", package: "grpc-swift-nio-transport"),
.product(name: "GRDB", package: "GRDB.swift"),
.product(name: "Logging", package: "swift-log"),
],
path: "Sources",
plugins: [
.plugin(name: "GRPCProtobufGenerator", package: "grpc-swift-protobuf"),
]
),
.testTarget(
name: "ServerTests",
dependencies: [
"Server"
],
path: "Tests"
)
]
)