Skip to content

Commit 00460d6

Browse files
committed
Workaround for SR-2651
1 parent a905fbb commit 00460d6

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

Package.swift

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
import PackageDescription
22

33
let package = Package(
4-
name: "Commandant",
5-
dependencies: [
6-
.Package(url: "https://github.com/antitypical/Result.git", majorVersion: 3, minor: 0),
7-
.Package(url: "https://github.com/ikesyo/Nimble", "5.0.0-alpha.30.gm.candidate"),
8-
.Package(url: "https://github.com/norio-nomura/Quick", "0.10.0-alpha.30.gm.candidate"),
9-
]
4+
name: "Commandant",
5+
dependencies: {
6+
#if os(macOS)
7+
return [
8+
.Package(url: "https://github.com/antitypical/Result.git", majorVersion: 3, minor: 0),
9+
]
10+
#else
11+
return [
12+
.Package(url: "https://github.com/antitypical/Result.git", majorVersion: 3, minor: 0),
13+
.Package(url: "https://github.com/ikesyo/Nimble", "5.0.0-alpha.30.gm.candidate"),
14+
.Package(url: "https://github.com/norio-nomura/Quick", "0.10.0-alpha.30.gm.candidate"),
15+
]
16+
#endif
17+
}()
1018
)

0 commit comments

Comments
 (0)