File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ let package = Package(
13
13
products: [
14
14
. library( name: " AsyncAlgorithms " , targets: [ " AsyncAlgorithms " ] ) ,
15
15
] ,
16
- dependencies: [
17
- . package ( url: " https://github.com/apple/swift-collections.git " , from: " 1.1.0 " ) ,
18
- . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.0.0 " ) ,
19
- ] ,
20
16
targets: [
21
17
. target(
22
18
name: " AsyncAlgorithms " ,
@@ -52,3 +48,14 @@ let package = Package(
52
48
) ,
53
49
]
54
50
)
51
+
52
+ if Context . environment [ " SWIFTCI_USE_LOCAL_DEPS " ] == nil {
53
+ package . dependencies += [
54
+ . package ( url: " https://github.com/apple/swift-collections.git " , from: " 1.1.0 " ) ,
55
+ . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.0.0 " ) ,
56
+ ]
57
+ } else {
58
+ package . dependencies += [
59
+ . package ( path: " ../swift-collections " ) ,
60
+ ]
61
+ }
You can’t perform that action at this time.
0 commit comments