mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 12:56:03 +03:00
update dependencies
This commit is contained in:
parent
289330d97b
commit
9b3a1453c4
@ -33,8 +33,8 @@
|
||||
"repositoryURL": "https://github.com/kylef/PathKit.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "fa81fa9e3a9f59645159c4ea45c0c46ee6558f71",
|
||||
"version": "0.9.1"
|
||||
"revision": "e2f5be30e4c8f531c9c1e8765aa7b71c0a45d7a0",
|
||||
"version": "0.9.2"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -57,11 +57,11 @@
|
||||
},
|
||||
{
|
||||
"package": "Spectre",
|
||||
"repositoryURL": "https://github.com/yonaskolb/Spectre.git",
|
||||
"repositoryURL": "https://github.com/kylef/Spectre.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "e76cd0985d5fe006247e9e0c061d65561e14d3a2",
|
||||
"version": "0.8.2"
|
||||
"revision": "f14ff47f45642aa5703900980b014c2e9394b6e5",
|
||||
"version": "0.9.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -78,8 +78,8 @@
|
||||
"repositoryURL": "https://github.com/jpsim/Yams.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "6652aa7b793d3c8a075db0614acb575fcaecf457",
|
||||
"version": "0.7.0"
|
||||
"revision": "26ab35f50ea891e8edefcc9d975db2f6b67e1d68",
|
||||
"version": "1.0.1"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -12,9 +12,9 @@ let package = Package(
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/kylef/PathKit.git", from: "0.9.0"),
|
||||
.package(url: "https://github.com/kylef/Commander.git", from: "0.8.0"),
|
||||
.package(url: "https://github.com/jpsim/Yams.git", from: "0.3.6"),
|
||||
.package(url: "https://github.com/jpsim/Yams.git", from: "1.0.0"),
|
||||
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "4.0.0"),
|
||||
.package(url: "https://github.com/yonaskolb/Spectre.git", from: "0.8.2"),
|
||||
.package(url: "https://github.com/kylef/Spectre.git", from: "0.9.0"),
|
||||
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.0.0"),
|
||||
.package(url: "https://github.com/xcodeswift/xcproj.git", from: "4.1.0"),
|
||||
],
|
||||
|
@ -3,6 +3,7 @@ import PathKit
|
||||
import ProjectSpec
|
||||
import Spectre
|
||||
import xcproj
|
||||
import XCTest
|
||||
|
||||
let fixturePath = Path(#file).parent().parent() + "Fixtures"
|
||||
|
||||
@ -108,3 +109,19 @@ extension Version: ExpressibleByStringLiteral {
|
||||
try! self.init(value)
|
||||
}
|
||||
}
|
||||
|
||||
extension XCTestCase {
|
||||
|
||||
public func describe(_ name: StaticString = #function, _ test: (ContextType) -> Void) {
|
||||
|
||||
var name = String(describing: name)
|
||||
if name.hasPrefix("test") {
|
||||
name = String(name.suffix(name.count - "test".count))
|
||||
name = name.replacingOccurrences(of: "_", with: " ")
|
||||
}
|
||||
if name.hasSuffix("()") {
|
||||
name = String(name.prefix(name.count - 2))
|
||||
}
|
||||
describe(name, test)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user