forked from launchdarkly/ios-client-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
44 lines (42 loc) · 1.53 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "LaunchDarkly",
platforms: [
.iOS(.v12),
.macOS(.v10_13),
.watchOS(.v4),
.tvOS(.v12)
],
products: [
.library(
name: "LaunchDarkly",
targets: ["LaunchDarkly"]),
],
dependencies: [
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", .exact("9.1.0")),
.package(url: "https://github.com/Quick/Quick.git", .exact("4.0.0")),
.package(url: "https://github.com/Quick/Nimble.git", .exact("9.2.1")),
.package(name: "LDSwiftEventSource", url: "https://github.com/LaunchDarkly/swift-eventsource.git", .exact("3.1.1"))
],
targets: [
.target(
name: "LaunchDarkly",
dependencies: [
.product(name: "LDSwiftEventSource", package: "LDSwiftEventSource")
],
path: "LaunchDarkly/LaunchDarkly",
exclude: ["Support"]),
.testTarget(
name: "LaunchDarklyTests",
dependencies: [
"LaunchDarkly",
.product(name: "OHHTTPStubsSwift", package: "OHHTTPStubs"),
.product(name: "Quick", package: "Quick"),
.product(name: "Nimble", package: "Nimble")
],
path: "LaunchDarkly",
exclude: ["LaunchDarklyTests/Info.plist", "LaunchDarklyTests/.swiftlint.yml"],
sources: ["GeneratedCode", "LaunchDarklyTests"]),
],
swiftLanguageVersions: [.v5])