forked from readium/r2-navigator-swift
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
50 lines (48 loc) · 1.45 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-navigator-swift",
defaultLocalization: "en",
platforms: [.iOS(.v10)],
products: [
.library(
name: "R2Navigator",
targets: ["R2Navigator"]
),
],
dependencies: [
.package(url: "https://github.com/ra1028/DifferenceKit.git", from: "1.2.0"),
.package(url: "https://github.com/readium/r2-shared-swift.git", from: "2.2.0"),
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.3.2"),
],
targets: [
.target(
name: "R2Navigator",
dependencies: [
"DifferenceKit",
"SwiftSoup",
.product(name: "R2Shared", package: "r2-shared-swift"),
],
path: "./r2-navigator-swift/",
exclude: [
"Info.plist",
"EPUB/Scripts"
],
resources: [
.copy("EPUB/Assets"),
.process("Resources"),
]
),
.testTarget(
name: "R2NavigatorTests",
dependencies: ["R2Navigator"],
path: "./r2-navigator-swiftTests/",
exclude: ["Info.plist"]
),
]
)