forked from vapor/mysql-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
30 lines (29 loc) · 1.06 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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "mysql-kit",
platforms: [
.macOS(.v10_15)
],
products: [
.library(name: "MySQLKit", targets: ["MySQLKit"]),
],
dependencies: [
.package(url: "https://github.com/vapor/mysql-nio.git", from: "1.0.0"),
.package(url: "https://github.com/vapor/sql-kit.git", from: "3.0.0"),
.package(url: "https://github.com/vapor/async-kit.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "1.0.0"),
],
targets: [
.target(name: "MySQLKit", dependencies: [
.product(name: "AsyncKit", package: "async-kit"),
.product(name: "MySQLNIO", package: "mysql-nio"),
.product(name: "SQLKit", package: "sql-kit"),
.product(name: "Crypto", package: "swift-crypto"),
]),
.testTarget(name: "MySQLKitTests", dependencies: [
.target(name: "MySQLKit"),
.product(name: "SQLKitBenchmark", package: "sql-kit"),
]),
]
)