-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathPackage.swift
More file actions
34 lines (32 loc) · 1.04 KB
/
Package.swift
File metadata and controls
34 lines (32 loc) · 1.04 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
// swift-tools-version:6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Diagnostics",
platforms: [
.macOS(.v13),
.iOS(.v16),
.tvOS(.v14),
.watchOS(.v6),
.visionOS(.v1)],
products: [
.library(name: "Diagnostics", targets: ["Diagnostics"])
],
dependencies: [
.package(url: "https://github.com/sindresorhus/ExceptionCatcher", from: "2.0.0")
],
targets: [
.target(
name: "Diagnostics",
dependencies: ["ExceptionCatcher"],
path: "Sources",
resources: [
.process("style.css"),
.process("functions.js"),
.process("PrivacyInfo.xcprivacy")
],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency")
]),
.testTarget(name: "DiagnosticsTests", dependencies: ["Diagnostics"], path: "DiagnosticsTests")
])