-
Notifications
You must be signed in to change notification settings - Fork 93
46 lines (44 loc) · 1.08 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
35
36
37
38
39
40
41
42
43
44
45
46
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "SnowplowTracker",
defaultLocalization: "en",
platforms: [
.macOS("10.13"),
.iOS("11.0"),
.tvOS("12.0"),
.watchOS("6.0"),
.visionOS("1.0")
],
products: [
.library(
name: "SnowplowTracker",
targets: ["SnowplowTracker"]),
],
dependencies: [
.package(url: "https://github.com/WeTransfer/Mocker.git", from: "2.5.4"),
],
targets: [
.target(
name: "SnowplowTracker",
path: "./Sources"),
.testTarget(
name: "Tests",
dependencies: [
"SnowplowTracker",
"Mocker"
],
path: "Tests"),
.testTarget(
name: "IntegrationTests",
dependencies: [
"SnowplowTracker"
],
path: "IntegrationTests")
]
)
#if swift(>=5.6)
package.dependencies += [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
]
#endif