File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -168,13 +168,15 @@ let package = Package(
168
168
)
169
169
170
170
if !useLocalDependencies {
171
+ let relatedDependenciesBranch = " main "
172
+
171
173
// Building standalone.
172
174
package . dependencies += [
173
- . package ( url: " https://github.com/apple/swift-tools-support-core.git " , . branch( " main " ) ) ,
175
+ . package ( url: " https://github.com/apple/swift-tools-support-core.git " , . branch( relatedDependenciesBranch ) ) ,
174
176
. package ( url: " https://github.com/apple/swift-argument-parser.git " , . upToNextMinor( from: " 1.0.1 " ) ) ,
175
177
]
176
178
if swiftSyntaxSearchPath == nil {
177
- package . dependencies. append ( . package ( url: " https://github.com/apple/swift-syntax.git " , . branch( " main " ) ) )
179
+ package . dependencies. append ( . package ( url: " https://github.com/apple/swift-syntax.git " , . branch( relatedDependenciesBranch ) ) )
178
180
}
179
181
} else {
180
182
package . dependencies += [
You can’t perform that action at this time.
0 commit comments