-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathPackage.swift
More file actions
37 lines (34 loc) · 868 Bytes
/
Package.swift
File metadata and controls
37 lines (34 loc) · 868 Bytes
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "JSONPreview",
platforms: [
.iOS(.v12),
.tvOS(.v12),
],
products: [
.library(
name: "JSONPreview",
targets: ["JSONPreview"]
),
],
targets: [
.target(
name: "JSONPreview",
path: "Sources",
resources: [
.copy("PrivacyInfo.xcprivacy"),
.process("./Resources/Assets.xcassets"),
]
),
.testTarget(
name: "JSONPreviewTests",
dependencies: ["JSONPreview"],
path: "Tests"
),
]
)
#if swift(>=5.6)
// Add the Swift formatting plugin if possible
package.dependencies.append(.package(url: "https://github.com/RakuyoKit/swift.git", branch: "release/1.4.0"))
#endif