Move Variants into the Components folder

Continue grouping the standalone modules under Components. Updates the
nightly.yml include path and the app icon banner path used by the
configure-nightly CI command.
This commit is contained in:
Stefan Ceriu
2026-08-12 15:01:26 +03:00
parent 5866c4340a
commit e302b37b6a
8 changed files with 3 additions and 3 deletions

Before

Width:  |  Height:  |  Size: 387 KiB

After

Width:  |  Height:  |  Size: 387 KiB

Before

Width:  |  Height:  |  Size: 572 B

After

Width:  |  Height:  |  Size: 572 B

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 818 B

After

Width:  |  Height:  |  Size: 818 B

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

@@ -31,8 +31,8 @@ struct ConfigureNightly: AsyncParsableCommand {
}
// Check if the nightly variant is already included
if projectConfig["include"]?.sequence?.contains(where: { $0.mapping?["path"] == "Variants/Nightly/nightly.yml" }) == false {
projectConfig["include"]?.sequence?.append(["path": "Variants/Nightly/nightly.yml"])
if projectConfig["include"]?.sequence?.contains(where: { $0.mapping?["path"] == "Components/Variants/Nightly/nightly.yml" }) == false {
projectConfig["include"]?.sequence?.append(["path": "Components/Variants/Nightly/nightly.yml"])
}
let updatedYAMLString = try Yams.serialize(node: projectConfig)
@@ -41,7 +41,7 @@ struct ConfigureNightly: AsyncParsableCommand {
/// Generates the app icon banner with version and build number.
private func generateAppIconBanner(buildNumber: String) async throws {
let iconPath = "Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Version.png"
let iconPath = "Components/Variants/Nightly/Resources/NightlyAppIcon.icon/Assets/Version.png"
try await AppIconBanner.parse([iconPath, "--build-number", buildNumber]).run()
}
}