-
Notifications
You must be signed in to change notification settings - Fork 9
/
Package.swift
36 lines (34 loc) · 1.24 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Statsig",
platforms: [.watchOS(.v7), .iOS(.v10), .tvOS(.v10), .macOS(.v10_13)],
products: [
.library(
name: "Statsig",
targets: ["Statsig"]),
],
dependencies: [
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", .upToNextMajor(from: "9.1.0")),
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "10.0.0")),
.package(url: "https://github.com/Quick/Quick.git", .upToNextMajor(from: "5.0.0")),
.package(url: "https://github.com/erikdoe/ocmock", .branch("master")),
],
targets: [
.target(
name: "Statsig",
dependencies: [],
path: "Sources/Statsig"
),
.testTarget(
name: "StatsigTests",
dependencies: ["Statsig", "Quick", "Nimble", "OHHTTPStubs", .product(name: "OHHTTPStubsSwift", package: "OHHTTPStubs")]
),
.testTarget(
name: "StatsigObjcTests",
dependencies: [.target(name: "Statsig"),.product(name: "OCMock", package: "ocmock")],
resources: [.process("Resources")]
),
],
swiftLanguageVersions: [.v5]
)