-
Notifications
You must be signed in to change notification settings - Fork 88
/
Copy pathPackage.swift
44 lines (42 loc) · 1.49 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.8
import PackageDescription
let package = Package(
name: "LaunchDarkly",
platforms: [
.iOS(.v11),
.macOS(.v10_13),
.watchOS(.v4),
.tvOS(.v11)
],
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(url: "https://github.com/LaunchDarkly/swift-eventsource.git", exact: "3.1.1")
],
targets: [
.target(
name: "LaunchDarkly",
dependencies: [
.product(name: "LDSwiftEventSource", package: "swift-eventsource")
],
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])