-
Notifications
You must be signed in to change notification settings - Fork 4
/
Package.swift
27 lines (25 loc) · 878 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
23
24
25
26
27
// swift-tools-version:5.10
import PackageDescription
let package = Package(
name: "swift-twitch-client",
platforms: [.macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9)],
products: [.library(name: "Twitch", targets: ["Twitch"])],
dependencies: [
.package(
url: "https://github.com/WeTransfer/Mocker.git", .upToNextMajor(from: "3.0.2")),
.package(url: "https://github.com/MahdiBM/TwitchIRC", from: "1.5.0"),
.package(url: "https://github.com/vapor/websocket-kit", from: "2.14.0"),
],
targets: [
.target(
name: "Twitch",
dependencies: [
"TwitchIRC",
.product(
name: "WebSocketKit", package: "websocket-kit",
condition: .when(platforms: [.linux])),
]),
.testTarget(
name: "TwitchTests", dependencies: ["Twitch", "Mocker"],
resources: [.process("API/MockResources")]),
])