From 7e7c4bfa2e8b818aa4010e2ddc58d00322903719 Mon Sep 17 00:00:00 2001 From: Doug Date: Wed, 8 Dec 2021 16:19:24 +0000 Subject: [PATCH] Use a single strings step with 2 actions. --- Tools/SwiftGen/swiftgen-config.yml | 29 ++++++++++++++--------------- changelog.d/5280.build | 1 + 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 changelog.d/5280.build diff --git a/Tools/SwiftGen/swiftgen-config.yml b/Tools/SwiftGen/swiftgen-config.yml index cad5c1099..3d1cd6693 100755 --- a/Tools/SwiftGen/swiftgen-config.yml +++ b/Tools/SwiftGen/swiftgen-config.yml @@ -9,21 +9,20 @@ ib: templateName: scenes-swift4 output: Storyboards.swift strings: - inputs: Assets/en.lproj/Vector.strings - outputs: - templatePath: Templates/Strings/flat-swift4-vector.stencil - output: Strings.swift - params: - className: VectorL10n - publicAccess: true -strings: - inputs: Modules/MatrixKit/Assets/MatrixKitAssets.bundle/en.lproj/MatrixKit.strings - outputs: - templatePath: Templates/Strings/matrixkit-flat-swift4-vector.stencil - output: MatrixKitStrings.swift - params: - className: MatrixKitL10n - publicAccess: true + - inputs: Assets/en.lproj/Vector.strings + outputs: + templatePath: Templates/Strings/flat-swift4-vector.stencil + output: Strings.swift + params: + className: VectorL10n + publicAccess: true + - inputs: Modules/MatrixKit/Assets/MatrixKitAssets.bundle/en.lproj/MatrixKit.strings + outputs: + templatePath: Templates/Strings/matrixkit-flat-swift4-vector.stencil + output: MatrixKitStrings.swift + params: + className: MatrixKitL10n + publicAccess: true xcassets: inputs: - Assets/Images.xcassets diff --git a/changelog.d/5280.build b/changelog.d/5280.build new file mode 100644 index 000000000..e5a166d66 --- /dev/null +++ b/changelog.d/5280.build @@ -0,0 +1 @@ +Fix SwiftGen only generating strings for MatrixKit. \ No newline at end of file