Replace ruby/fastlane tools with swift variants. (#5105)

* Replace ruby/fastlane unit and preview test flows with swift variants.

* Switch to swift-log and Logger for logging

* Address (my own!) PR comments.

---------

Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
Stefan Ceriu
2026-02-19 11:13:42 +02:00
committed by GitHub
parent 65a4be3df2
commit fc03e05697
9 changed files with 375 additions and 48 deletions
+6 -2
View File
@@ -15,14 +15,18 @@ let package = Package(
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.7.0")),
.package(url: "https://github.com/element-hq/swift-command-line-tools.git", revision: "e5eaab1558ef664e6cd80493f64259381670fb3a"),
// .package(path: "../../../swift-command-line-tools"),
.package(url: "https://github.com/jpsim/Yams", .upToNextMinor(from: "6.2.1"))
.package(url: "https://github.com/swiftlang/swift-subprocess", .upToNextMinor(from: "0.3.0")),
.package(url: "https://github.com/jpsim/Yams", .upToNextMinor(from: "6.2.1")),
.package(url: "https://github.com/apple/swift-log", .upToNextMinor(from: "1.10.1"))
],
targets: [
.executableTarget(name: "Tools",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "CommandLineTools", package: "swift-command-line-tools"),
.product(name: "Yams", package: "Yams")
.product(name: "Subprocess", package: "swift-subprocess"),
.product(name: "Yams", package: "Yams"),
.product(name: "Logging", package: "swift-log")
],
path: "Tools/Sources")
]