use swift 6.2 for dev tools (#5720)

This commit is contained in:
Mauro
2026-06-09 10:46:29 +02:00
committed by GitHub
parent b3db14cd2e
commit ad6ae390d1
8 changed files with 37 additions and 15 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ struct BuildSDK: AsyncParsableCommand {
/// Update project.yml with the local path of the SDK.
func updateProjectYAML() throws {
let yamlURL = URL.projectDirectory.appendingPathComponent("project.yml")
let yamlString = try String(contentsOf: yamlURL)
let yamlString = try String(contentsOf: yamlURL, encoding: .utf8)
guard var projectConfig = try Yams.compose(yaml: yamlString) else { throw Error.failureParsingProjectYAML }
projectConfig["packages"]?.mapping?["MatrixRustSDK"]? = ["path": "../matrix-rust-sdk"]