Skip to content

Commit

Permalink
Bump swift-tools-version, fix resulting build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kreeger committed Jun 8, 2021
1 parent f0b1a8a commit 15af06d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.2

import PackageDescription

Expand All @@ -19,17 +19,24 @@ let package = Package(
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", .upToNextMinor(from: "9.0.0")),
.package(url: "https://github.com/Quick/Quick.git", .upToNextMinor(from: "3.0.0")),
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMinor(from: "9.0.0")),
.package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMinor(from: "1.2.1"))
.package(name: "LDSwiftEventSource", url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMinor(from: "1.2.1"))
],
targets: [
.target(
name: "LaunchDarkly",
dependencies: ["LDSwiftEventSourceStatic"],
dependencies: [
.product(name: "LDSwiftEventSourceStatic", package: "LDSwiftEventSource")
],
path: "LaunchDarkly/LaunchDarkly",
exclude: ["Support"]),
.testTarget(
name: "LaunchDarklyTests",
dependencies: ["LaunchDarkly", "OHHTTPStubsSwift", "Quick", "Nimble"],
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"]),
Expand Down

0 comments on commit 15af06d

Please sign in to comment.