-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
27 lines (25 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
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "protoo-swift",
platforms: [.macOS(.v14)],
products: [
.library(name: "protoo-client", targets: ["protoo-client"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.60.0"),
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.26.0"),
],
targets: [
.target(name: "protoo-client", dependencies: [
.product(name: "Logging", package: "swift-log"),
.product(name: "NIOCore", package: "swift-nio"),
.product(name: "NIOFoundationCompat", package: "swift-nio"),
.product(name: "NIOWebSocket", package: "swift-nio"),
.product(name: "NIOSSL", package: "swift-nio-ssl"),
]),
.testTarget(name: "protoo-swiftTests", dependencies: ["protoo-client"]),
]
)