-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathPackage.swift
More file actions
48 lines (46 loc) · 1.59 KB
/
Package.swift
File metadata and controls
48 lines (46 loc) · 1.59 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "DSKit",
platforms: [
.iOS(.v13),
],
products: [
.library(name: "DSKit", targets: ["DSKit"]),
.library(name: "DSKitCalendar", targets: ["DSKitCalendar"]),
.library(name: "DSKitFakery", targets: ["DSKitFakery"]),
],
dependencies: [
.package(url: "https://github.com/robb/Cartography", from: "4.0.0"),
.package(url: "https://github.com/imodeveloper/ActiveLabel.swift", from: "1.1.7"),
.package(url: "https://github.com/onevcat/Kingfisher", from: "7.10.1"),
.package(url: "https://github.com/vadymmarkov/Fakery", from: "5.1.0"),
.package(url: "https://github.com/airbnb/HorizonCalendar.git", from: "1.13.3"),
],
targets: [
.target(
name: "DSKit",
dependencies: ["Cartography", "Kingfisher", .product(name: "ActiveLabel", package: "ActiveLabel.swift")],
path: "Sources/DSKit",
resources: [
.process("Appearance/Fonts/Noteworthy.plist"),
.process("Appearance/Fonts/HoeflerText.plist")
]
),
.target(
name: "DSKitFakery",
dependencies: ["Fakery"],
path: "Sources/DSKitFakery"
),
.target(
name: "DSKitCalendar",
dependencies: ["DSKit", "HorizonCalendar"],
path: "Sources/DSKitCalendar"
),
.testTarget(
name: "DSKitTests",
dependencies: ["DSKit"],
path: "Tests/DSKitTests"
),
]
)