-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
34 lines (32 loc) · 979 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
28
29
30
31
32
33
34
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "JellyfinAPI",
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17), .watchOS(.v9), .visionOS(.v1)],
products: [
.library(
name: "JellyfinAPI",
targets: ["JellyfinAPI"]
)
],
dependencies: [
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.9.0"),
.package(url: "https://github.com/elegantchaos/DictionaryCoding", from: "1.0.9"),
],
targets: [
.target(
name: "JellyfinAPI",
dependencies: [
.product(name: "AsyncHTTPClient", package: "async-http-client"),
"DictionaryCoding"
],
swiftSettings: [
.unsafeFlags(["-enable-bare-slash-regex"])
]
),
.testTarget(
name: "JellyfinAPITests",
dependencies: ["JellyfinAPI"]
)
]
)