-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
33 lines (31 loc) · 1.25 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
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "lcl-speedtest",
platforms: [
.macOS(.v10_15), .iOS(.v14), .tvOS(.v13), .watchOS(.v6),
],
products: [
.library(name: "LCLSpeedtest", targets: ["LCLSpeedtest"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.73.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.3"),
.package(url: "https://github.com/Local-Connectivity-Lab/lcl-websocket.git", from: "1.0.1"),
],
targets: [
.target(
name: "LCLSpeedtest",
dependencies: [
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOCore", package: "swift-nio"),
.product(name: "NIOPosix", package: "swift-nio"),
.product(name: "NIOConcurrencyHelpers", package: "swift-nio"),
.product(name: "Logging", package: "swift-log"),
.product(name: "LCLWebSocket", package: "lcl-websocket"),
]
),
.executableTarget(name: "Demo", dependencies: ["LCLSpeedtest"]),
]
)