File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 18
18
import PackageDescription
19
19
import Foundation
20
20
21
+ var kituraPackage : Package . Dependency
21
22
var webSocketPackage : Package . Dependency
22
23
23
24
if ProcessInfo . processInfo. environment [ " KITURA_NIO " ] != nil {
25
+ kituraPackage = . package ( url: " https://github.com/IBM-Swift/Kitura.git " , . upToNextMinor( from: " 2.6.0 " ) )
24
26
webSocketPackage = . package ( url: " https://github.com/IBM-Swift/Kitura-WebSocket-NIO.git " , from: " 1.0.0 " )
25
27
} else {
28
+ kituraPackage = . package ( url: " https://github.com/IBM-Swift/Kitura.git " , from: " 2.3.0 " )
26
29
webSocketPackage = . package ( url: " https://github.com/IBM-Swift/Kitura-WebSocket.git " , from: " 2.0.0 " )
27
30
}
28
31
@@ -43,7 +46,7 @@ let package = Package(
43
46
. executable( name: " SwiftMetricsCommonSample " , targets: [ " SwiftMetricsCommonSample " ] ) ,
44
47
] ,
45
48
dependencies: [
46
- . package ( url : " https://github.com/IBM-Swift/Kitura.git " , from : " 2.3.0 " ) ,
49
+ kituraPackage ,
47
50
webSocketPackage,
48
51
. package ( url: " https://github.com/IBM-Swift/SwiftyRequest.git " , from: " 1.0.0 " ) ,
49
52
. package ( url: " https://github.com/IBM-Swift/Swift-cfenv.git " , from: " 6.0.0 " ) ,
Original file line number Diff line number Diff line change 18
18
import PackageDescription
19
19
import Foundation
20
20
21
+ var kituraPackage : Package . Dependency
21
22
var webSocketPackage : Package . Dependency
22
23
23
24
if ProcessInfo . processInfo. environment [ " KITURA_NIO " ] != nil {
25
+ kituraPackage = . package ( url: " https://github.com/IBM-Swift/Kitura.git " , . upToNextMinor( from: " 2.6.0 " ) )
24
26
webSocketPackage = . package ( url: " https://github.com/IBM-Swift/Kitura-WebSocket-NIO.git " , from: " 1.0.0 " )
25
27
} else {
28
+ kituraPackage = . package ( url: " https://github.com/IBM-Swift/Kitura.git " , from: " 2.3.0 " )
26
29
webSocketPackage = . package ( url: " https://github.com/IBM-Swift/Kitura-WebSocket.git " , from: " 2.0.0 " )
27
30
}
28
31
@@ -43,7 +46,7 @@ let package = Package(
43
46
. executable( name: " SwiftMetricsCommonSample " , targets: [ " SwiftMetricsCommonSample " ] ) ,
44
47
] ,
45
48
dependencies: [
46
- . package ( url : " https://github.com/IBM-Swift/Kitura.git " , from : " 2.3.0 " ) ,
49
+ kituraPackage ,
47
50
webSocketPackage,
48
51
. package ( url: " https://github.com/IBM-Swift/SwiftyRequest.git " , from: " 1.0.0 " ) ,
49
52
. package ( url: " https://github.com/IBM-Swift/Swift-cfenv.git " , from: " 6.0.0 " ) ,
Original file line number Diff line number Diff line change 18
18
import PackageDescription
19
19
import Foundation
20
20
21
+ var kituraPackage : Package . Dependency
21
22
var webSocketPackage : Package . Dependency
22
23
23
24
if ProcessInfo . processInfo. environment [ " KITURA_NIO " ] != nil {
25
+ kituraPackage = . package ( url: " https://github.com/IBM-Swift/Kitura.git " , . upToNextMinor( from: " 2.6.0 " ) )
24
26
webSocketPackage = . package ( url: " https://github.com/IBM-Swift/Kitura-WebSocket-NIO.git " , from: " 1.0.0 " )
25
27
} else {
28
+ kituraPackage = . package ( url: " https://github.com/IBM-Swift/Kitura.git " , from: " 2.3.0 " )
26
29
webSocketPackage = . package ( url: " https://github.com/IBM-Swift/Kitura-WebSocket.git " , from: " 2.0.0 " )
27
30
}
28
31
@@ -43,7 +46,7 @@ let package = Package(
43
46
. executable( name: " SwiftMetricsCommonSample " , targets: [ " SwiftMetricsCommonSample " ] ) ,
44
47
] ,
45
48
dependencies: [
46
- . package ( url : " https://github.com/IBM-Swift/Kitura.git " , from : " 2.3.0 " ) ,
49
+ kituraPackage ,
47
50
webSocketPackage,
48
51
. package ( url: " https://github.com/IBM-Swift/Swift-cfenv.git " , from: " 6.0.0 " ) ,
49
52
. package ( url: " https://github.com/RuntimeTools/omr-agentcore " , . exact( " 3.2.4-swift4 " ) ) ,
You can’t perform that action at this time.
0 commit comments