-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
22 lines (21 loc) · 985 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "FoundationDB",
products: [
.library(name: "FoundationDB", targets: ["FoundationDB"]),
.executable(name: "FoundationDBBindingTestRunner", targets: ["FoundationDBBindingTestRunner"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio", from: "1.2.0"),
.package(url: "https://github.com/FoundationDB/fdb-swift-c-packaging", .branch("main"))
],
targets: [
.target(name: "FoundationDB", dependencies: [.product(name: "NIO", package: "swift-nio"), "CFoundationDB"]),
.target(name: "CFoundationDB"),
.target(name: "FoundationDBBindingTest", dependencies: ["FoundationDB"]),
.target(name: "FoundationDBBindingTestRunner", dependencies: ["FoundationDBBindingTest"]),
.testTarget(name: "FoundationDBTests", dependencies: ["FoundationDB"]),
.testTarget(name: "FoundationDBBindingTestTests", dependencies: ["FoundationDBBindingTest"]),
]
)