File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ let package = Package(
1313 products: [
1414 . library( name: " AsyncAlgorithms " , targets: [ " AsyncAlgorithms " ] ) ,
1515 ] ,
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- ] ,
2016 targets: [
2117 . target(
2218 name: " AsyncAlgorithms " ,
@@ -52,3 +48,14 @@ let package = Package(
5248 ) ,
5349 ]
5450)
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