This repository has been archived by the owner on Aug 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Package.swift
50 lines (48 loc) · 1.58 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// swift-tools-version:5.3
//
// Copyright 2021 Readium Foundation. All rights reserved.
// Use of this source code is governed by the BSD-style license
// available in the top-level LICENSE file of the project.
//
import PackageDescription
let package = Package(
name: "r2-streamer-swift",
defaultLocalization: "en",
platforms: [.iOS(.v10)],
products: [
.library(name: "R2Streamer", targets: ["R2Streamer"]),
],
dependencies: [
.package(url: "https://github.com/cezheng/Fuzi.git", from: "3.1.3"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.3.8"),
.package(url: "https://github.com/marmelroy/Zip.git", from: "2.1.1"),
.package(url: "https://github.com/readium/GCDWebServer.git", from: "3.7.0"),
.package(url: "https://github.com/readium/r2-shared-swift.git", from: "2.2.0"),
],
targets: [
.target(
name: "R2Streamer",
dependencies: [
"CryptoSwift",
"Fuzi",
"GCDWebServer",
"Zip",
.product(name: "R2Shared", package: "r2-shared-swift"),
],
path: "./r2-streamer-swift/",
exclude: ["Info.plist"],
resources: [
.copy("Assets"),
]
),
.testTarget(
name: "R2StreamerTests",
dependencies: ["R2Streamer"],
path: "./r2-streamer-swiftTests/",
exclude: ["Info.plist"],
resources: [
.copy("Fixtures"),
]
),
]
)