-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
38 lines (36 loc) · 1.12 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
31
32
33
34
35
36
37
38
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "swift-log-sentry",
platforms: [
.iOS(.v9),
.macOS(.v10_10),
.tvOS(.v9),
.watchOS(.v2)
],
products: [
.library(
name: "SentryLogHandler",
targets: ["swift-log-sentry"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/getsentry/sentry-cocoa.git", from: "7.0.0"),
],
targets: [
.target(
name: "swift-log-sentry",
dependencies: [
.product(name: "Logging", package: "swift-log"),
.product(name: "Sentry", package: "sentry-cocoa"),
]),
.testTarget(
name: "swift-log-sentryTests",
dependencies: [
"swift-log-sentry",
.product(name: "Logging", package: "swift-log"),
.product(name: "Sentry", package: "sentry-cocoa"),
]),
]
)