-
Notifications
You must be signed in to change notification settings - Fork 176
68 lines (66 loc) · 1.54 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "FeedKit",
platforms: [
.macOS(.v12),
.iOS(.v15),
.watchOS(.v8),
.tvOS(.v15),
],
products: [
.library(
name: "FeedKit",
targets: [
"FeedKit"
]
),
.library(
name: "XMLKit",
targets: [
"XMLKit"
]
),
],
targets: [
.target(
name: "XMLKit"
),
.testTarget(
name: "XMLKitTests",
dependencies: ["XMLKit"],
resources: [
.process("Resources/xml/Sample.xml")
]
),
.target(
name: "FeedKit",
dependencies: [
"XMLKit"
]
),
.testTarget(
name: "FeedKitTests",
dependencies: [
"FeedKit"
],
resources: [
.process("Resources/json/feed.json"),
.process("Resources/xml/Ampersand.xml"),
.process("Resources/xml/Atom + XHTML.xml"),
.process("Resources/xml/Atom.xml"),
.process("Resources/xml/AtomMedia.xml"),
.process("Resources/xml/Content.xml"),
.process("Resources/xml/FeedNotFound.xml"),
.process("Resources/xml/RSS.xml"),
.process("Resources/xml/RSSDC.xml"),
.process("Resources/xml/RSSAtom.xml"),
.process("Resources/xml/Media.xml"),
.process("Resources/xml/Syndication.xml"),
.process("Resources/xml/iTunes.xml"),
.process("Resources/xml/YouTube.xml"),
]
),
]
)