-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
68 lines (67 loc) · 2.03 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "Capture",
platforms: [.iOS(.v13)],
products: [
.library(
name: "Capture",
targets: ["Capture"]
),
.library(
name: "CaptureCocoaLumberjack",
targets: ["CaptureCocoaLumberjack"]
),
.library(
name: "CaptureSwiftyBeaver",
targets: ["CaptureSwiftyBeaver"]
),
],
dependencies: [
.package(
url: "https://github.com/CocoaLumberjack/CocoaLumberjack.git",
.upToNextMajor(from: "3.8.0")
),
.package(url: "https://github.com/SwiftyBeaver/SwiftyBeaver.git", .upToNextMajor(from: "2.1.0")),
],
targets: [
.binaryTarget(
name: "Capture",
url: "https://dl.bitdrift.io/sdk/ios/capture-0.16.5/Capture.zip",
checksum: "5ad29c92bea9ff8228a6014bcc9c2f1cf07ec9352b19c7f225d0d9c2008460a1"
),
.target(
name: "CaptureCocoaLumberjack",
dependencies: [
"Capture",
.product(name: "CocoaLumberjackSwift", package: "CocoaLumberjack"),
]
),
.target(
name: "CaptureSwiftyBeaver",
dependencies: [
"Capture",
.product(name: "SwiftyBeaver", package: "SwiftyBeaver"),
]
),
.target(
name: "CaptureMocks",
dependencies: ["Capture"]
),
.testTarget(
name: "CaptureTests",
dependencies: ["Capture"],
path: "Tests/Capture"
),
.testTarget(
name: "CaptureSwiftyBeaverTests",
dependencies: ["CaptureSwiftyBeaver", "CaptureMocks"],
path: "Tests/CaptureSwiftyBeaver"
),
.testTarget(
name: "CaptureCocoaLumberjackTests",
dependencies: ["CaptureCocoaLumberjack", "CaptureMocks"],
path: "Tests/CaptureCocoaLumberjack"
),
]
)