1
- // swift-tools-version:5.5
1
+ // swift-tools-version:5.8
2
2
3
3
import PackageDescription
4
4
@@ -8,10 +8,10 @@ import PackageDescription
8
8
let isDevelop = true
9
9
10
10
let swiftLint : Package . Dependency = {
11
- #if compiler(>=5.7 )
12
- return . package ( url: " https://github.com/Realm/SwiftLint " , from: " 0.51 .0 " )
11
+ #if compiler(>=5.9 )
12
+ return . package ( url: " https://github.com/Realm/SwiftLint " , from: " 0.56 .0 " )
13
13
#else
14
- return . package ( url: " https://github.com/Realm/SwiftLint " , . exact( " 0.48 .0 " ) )
14
+ return . package ( url: " https://github.com/Realm/SwiftLint " , exact: " 0.53 .0 " )
15
15
#endif
16
16
} ( )
17
17
@@ -22,10 +22,10 @@ let devProducts: [Product] = isDevelop
22
22
let devDependencies : [ Package . Dependency ] = isDevelop
23
23
? [
24
24
. package ( url: " https://github.com/shibapm/Komondor " , from: " 1.1.4 " ) ,
25
- . package ( url: " https://github.com/nicklockwood/SwiftFormat " , from: " 0.50.5 " ) ,
25
+ . package ( url: " https://github.com/nicklockwood/SwiftFormat " , from: " 0.54.0 " ) ,
26
26
swiftLint,
27
- . package ( url: " https://github.com/pointfreeco/swift-snapshot-testing.git " , from: " 1.10 .0 " ) ,
28
- . package ( url: " https://github.com/shibapm/Rocket " , from: " 1.2.1 " ) ,
27
+ . package ( url: " https://github.com/pointfreeco/swift-snapshot-testing.git " , from: " 1.17 .0 " ) ,
28
+ . package ( url: " https://github.com/shibapm/Rocket " , from: " 1.3.0 " ) ,
29
29
] : [ ]
30
30
let devTargets : [ Target ] = isDevelop
31
31
? [
@@ -59,13 +59,20 @@ let package = Package(
59
59
dependencies: [
60
60
. package ( url: " https://github.com/shibapm/Logger " , from: " 0.1.0 " ) ,
61
61
. package ( url: " https://github.com/mxcl/Version " , from: " 2.0.1 " ) ,
62
- . package ( name : " OctoKit " , url: " https://github.com/nerdishbynature/octokit.swift " , from: " 0.12 .0 " ) ,
62
+ . package ( url: " https://github.com/nerdishbynature/octokit.swift " , from: " 0.13 .0 " ) ,
63
63
] + devDependencies,
64
64
targets: [
65
65
. target( name: " Danger-Swift " , dependencies: [ " Danger " ] ) ,
66
66
. target( name: " DangerShellExecutor " ) ,
67
67
. target( name: " DangerDependenciesResolver " , dependencies: [ " DangerShellExecutor " , " Version " , " Logger " ] ) ,
68
- . target( name: " Danger " , dependencies: [ " OctoKit " , " Logger " , " DangerShellExecutor " ] ) ,
68
+ . target(
69
+ name: " Danger " ,
70
+ dependencies: [
71
+ . product( name: " OctoKit " , package : " octokit.swift " ) ,
72
+ " Logger " ,
73
+ " DangerShellExecutor "
74
+ ]
75
+ ) ,
69
76
. target( name: " RunnerLib " , dependencies: [ " Logger " , " DangerShellExecutor " , " Version " ] ) ,
70
77
. executableTarget( name: " Runner " , dependencies: [ " RunnerLib " , " Logger " , " DangerDependenciesResolver " ] ) ,
71
78
. target( name: " DangerFixtures " , dependencies: [ " Danger " ] ) ,
0 commit comments