forked from FolioReader/FolioReaderKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
45 lines (40 loc) · 1.45 KB
/
Package.swift
File metadata and controls
45 lines (40 loc) · 1.45 KB
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
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "FolioReaderKit",
platforms: [
.iOS(.v15_5)
],
products: [
// This makes the module available to your projects as "FolioReaderKit"
.library(name: "FolioReaderKit", targets: ["FolioReaderKit"])
],
dependencies: [
// List any external dependencies here.
// These examples assume you need ZIPFoundation and SwiftSoup:
.package(url: "https://github.com/weichsel/ZIPFoundation.git", from: "0.9.0"),
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.3.2"),
.package(url: "https://github.com/tadija/AEXML.git", from: "4.6.0"),
.package(url: "https://github.com/ZipArchive/ZipArchive.git", from: "2.4.0")
],
targets: [
// Define the main target for FolioReaderKit.
.target(
name: "FolioReaderKit",
dependencies: [
.product(name: "ZipArchive", package: "ZipArchive"),
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
"SwiftSoup",
"AEXML"
],
// Update the path if your source files are not in a folder named "FolioReaderKit"
path: "Source"
),
// Define the tests target if you have tests.
.testTarget(
name: "FolioReaderKitTests",
dependencies: ["FolioReaderKit"],
path: "FolioReaderKitTests"
)
]
)