forked from onevcat/Kingfisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
30 lines (27 loc) · 1.01 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "Kingfisher",
platforms: [.iOS(.v10), .macOS(.v10_12), .tvOS(.v10), .watchOS(.v3)],
products: [
.library(name: "Kingfisher", targets: ["Kingfisher"]),
.library(name: "KingfisherSwiftUI", targets: ["KingfisherSwiftUI"]),
.library(name: "KingfisherDynamic", type: .dynamic, targets: ["Kingfisher"]),
.library(name: "KingfisherSwiftUIDynamic", type: .dynamic, targets: ["KingfisherSwiftUI"]),
.library(name: "KingfisherStatic", type: .static, targets: ["Kingfisher"]),
.library(name: "KingfisherSwiftUIStatic", type: .static, targets: ["KingfisherSwiftUI"])
],
targets: [
.target(
name: "Kingfisher",
path: "Sources",
exclude: ["SwiftUI"]
),
.target(
name: "KingfisherSwiftUI",
dependencies: ["Kingfisher"],
path: "Sources",
sources: ["SwiftUI"]
)
]
)