File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed
Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change 1+ // swift-tools-version: 5.9
2+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+ import PackageDescription
5+
6+ let package = Package (
7+ name: " FeedKit " ,
8+ platforms: [
9+ . macOS( . v12) ,
10+ . iOS( . v15) ,
11+ . watchOS( . v8) ,
12+ . tvOS( . v15) ,
13+ . visionOS( . v1)
14+ ] ,
15+ products: [
16+ . library(
17+ name: " FeedKit " ,
18+ targets: [
19+ " FeedKit "
20+ ]
21+ ) ,
22+ . library(
23+ name: " XMLKit " ,
24+ targets: [
25+ " XMLKit "
26+ ]
27+ )
28+ ] ,
29+ targets: [
30+ . target(
31+ name: " XMLKit "
32+ ) ,
33+ . testTarget(
34+ name: " XMLKitTests " ,
35+ dependencies: [ " XMLKit " ] ,
36+ resources: [
37+ . process( " Resources/xml/Sample.xml " )
38+ ]
39+ ) ,
40+ . target(
41+ name: " FeedKit " ,
42+ dependencies: [
43+ " XMLKit "
44+ ]
45+ ) ,
46+ . testTarget(
47+ name: " FeedKitTests " ,
48+ dependencies: [
49+ " FeedKit "
50+ ] ,
51+ resources: [
52+ . process( " Resources/json/feed.json " ) ,
53+ . process( " Resources/xml/Ampersand.xml " ) ,
54+ . process( " Resources/xml/Atom + XHTML.xml " ) ,
55+ . process( " Resources/xml/Atom.xml " ) ,
56+ . process( " Resources/xml/AtomMedia.xml " ) ,
57+ . process( " Resources/xml/Content.xml " ) ,
58+ . process( " Resources/xml/FeedNotFound.xml " ) ,
59+ . process( " Resources/xml/RSS.xml " ) ,
60+ . process( " Resources/xml/RSSDC.xml " ) ,
61+ . process( " Resources/xml/RSSAtom.xml " ) ,
62+ . process( " Resources/xml/Media.xml " ) ,
63+ . process( " Resources/xml/Syndication.xml " ) ,
64+ . process( " Resources/xml/iTunes.xml " ) ,
65+ . process( " Resources/xml/YouTube.xml " )
66+ ]
67+ )
68+ ]
69+ )
You can’t perform that action at this time.
0 commit comments