Skip to content

Commit fa78d52

Browse files
committed
SPM updated to Swift 5.0.
1 parent e568ed9 commit fa78d52

File tree

5 files changed

+71
-12
lines changed

5 files changed

+71
-12
lines changed

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.resolved

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"object": {
3+
"pins": [
4+
{
5+
"package": "CwlCatchException",
6+
"repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git",
7+
"state": {
8+
"branch": null,
9+
"revision": "7cd2f8cacc4d22f21bc0b2309c3b18acf7957b66",
10+
"version": "1.2.0"
11+
}
12+
},
13+
{
14+
"package": "CwlPreconditionTesting",
15+
"repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
16+
"state": {
17+
"branch": null,
18+
"revision": "c228db5d2ad1b01ebc84435e823e6cca4e3db98b",
19+
"version": "1.2.0"
20+
}
21+
},
22+
{
23+
"package": "Nimble",
24+
"repositoryURL": "https://github.com/Quick/Nimble.git",
25+
"state": {
26+
"branch": null,
27+
"revision": "b02b00b30b6353632aa4a5fb6124f8147f7140c0",
28+
"version": "8.0.5"
29+
}
30+
},
31+
{
32+
"package": "Quick",
33+
"repositoryURL": "https://github.com/Quick/Quick.git",
34+
"state": {
35+
"branch": null,
36+
"revision": "33682c2f6230c60614861dfc61df267e11a1602f",
37+
"version": "2.2.0"
38+
}
39+
}
40+
]
41+
},
42+
"version": 1
43+
}

Package.swift

+19-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1-
// swift-tools-version:4.0
1+
// swift-tools-version:5.0
22
import PackageDescription
33

44
let package = Package(
5-
name: "When",
6-
products: [
7-
.library(name: "When", targets: ["When"]),
8-
],
9-
targets: [
10-
.target(
11-
name: "When",
12-
dependencies: [],
13-
path: "./Sources/When"),
14-
]
15-
)
5+
name: "When",
6+
platforms: [
7+
.macOS(.v10_10),
8+
.iOS(.v8),
9+
.tvOS(.v9)
10+
],
11+
products: [
12+
.library(name: "When", targets: ["When"]),
13+
], dependencies: [
14+
.package(url: "https://github.com/Quick/Quick.git", .upToNextMinor(from: "2.2.0")),
15+
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMinor(from: "8.0.5"))
16+
],
17+
targets: [
18+
.target(name: "When", path: "Sources"),
19+
.testTarget(name: "WhenTests", dependencies: ["When", "Quick", "Nimble"], path: "WhenTests"),
20+
],
21+
swiftLanguageVersions: [.v5]
22+
)

WhenTests/Shared/FunctionsSpec.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Quick
22
import Nimble
3+
import Dispatch
34
@testable import When
45

56
class FunctionsSpec: QuickSpec {

WhenTests/Shared/PromiseSpec.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Quick
22
import Nimble
3+
import Dispatch
34
@testable import When
45

56
class PromiseSpec: QuickSpec {

0 commit comments

Comments
 (0)