-
Notifications
You must be signed in to change notification settings - Fork 4
/
Package.swift
45 lines (44 loc) · 1.4 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Nimble-SnapshotTesting",
platforms: [.iOS(.v13), .tvOS(.v13), .macOS(.v10_15), .watchOS(.v6)],
products: [
.library(
name: "Nimble-SnapshotTesting",
targets: ["NimbleSnapshotTestingObjc"])
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git",
.upToNextMajor(from: "1.10.0")),
.package(url: "https://github.com/Quick/Nimble.git",
.upToNextMajor(from: "13.0.0")),
.package(url: "https://github.com/Quick/Quick.git", from: "7.0.0"),
],
targets: [
.target(
name: "Nimble-SnapshotTesting",
dependencies: [
.product(name: "SnapshotTesting", package: "swift-snapshot-testing"),
"Nimble"
]
),
.target(
name: "NimbleSnapshotTestingObjc",
dependencies: [
"Nimble-SnapshotTesting"
]
),
.testTarget(
name: "Nimble-SnapshotTestingTests",
dependencies: [
"NimbleSnapshotTestingObjc",
.product(name: "Quick", package: "Quick"),
.product(name: "Nimble", package: "Nimble"),
],
exclude: [
"__Snapshots__"
]
)
]
)