forked from nytimes/NYTPhotoViewer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
36 lines (34 loc) · 965 Bytes
/
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
31
32
33
34
35
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "NYTPhotoViewer",
platforms: [
.iOS(.v12),
],
products: [
.library(name: "NYTPhotoViewer", targets: ["NYTPhotoViewer"])
],
dependencies: [
.package(name: "PINRemoteImage",
url: "https://github.com/pinterest/PINRemoteImage.git", "3.0.0" ..< "4.0.0")
],
targets: [
.target(
name: "NYTPhotoViewer",
dependencies: [
.product(name: "PINRemoteImage", package: "PINRemoteImage")
],
path: "NYTPhotoViewer",
exclude: [
"Info.plist"
],
resources: [
.process("NYTPhotoViewer.bundle")
],
publicHeadersPath: ".",
linkerSettings: [
.linkedFramework("UIKit", .when(platforms: .some([.iOS, .tvOS])))
]
)
]
)