-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
54 lines (51 loc) · 1.55 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
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "StatsigOnDeviceEvaluations",
platforms: [.iOS(.v13), .tvOS(.v13), .macOS(.v10_15)],
products: [
.library(
name: "StatsigOnDeviceEvaluations",
targets: [
"StatsigOnDeviceEvaluations",
]),
],
dependencies: [
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", from: "9.1.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "7.3.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "13.0.0")
],
targets: [
.target(
name: "StatsigOnDeviceEvaluations",
dependencies: []),
// Unit Tests
.target(
name: "StatsigTestUtils",
dependencies: [
"OHHTTPStubs",
.product(name: "OHHTTPStubsSwift", package: "OHHTTPStubs")
],
path: "Tests/TestUtils",
resources:[
.process("Resources")
]),
.testTarget(
name: "StatsigOnDeviceEvaluationsTestsSwift",
dependencies: [
"StatsigOnDeviceEvaluations",
"StatsigTestUtils",
"Quick",
"Nimble"
]
),
.testTarget(
name: "StatsigOnDeviceEvaluationsTestsObjC",
dependencies: [
"StatsigOnDeviceEvaluations",
"StatsigTestUtils",
"Nimble"
]
),
]
)