Beam/Tools/SwiftGen/swiftgen-config.yml
ismailgulek 0089cb9835
Fix Info.plist crash on Mac (#72)
* #71 Use custom template for Info.plist

* Add changelog
2022-06-06 15:02:16 +03:00

34 lines
993 B
YAML
Executable File

input_dir: ../../ElementX/
output_dir: ../../ElementX/Sources/Generated/
xcassets:
inputs:
- Resources/Assets.xcassets
outputs:
templateName: swift5
output: Assets.swift
strings:
- inputs: Resources/Localizations/en.lproj
filter: Localizable*
outputs:
templatePath: Templates/Strings/structured-swift5-element.stencil
output: Strings.swift
params:
enumName: ElementL10n
lookupFunction: tr # used for the loc to be computed variables
publicAccess: true
- inputs: Resources/Localizations/en.lproj
filter: Untranslated*
outputs:
templatePath: Templates/Strings/structured-swift5-untranslated.stencil
output: Strings+Untranslated.swift
params:
enumName: ElementL10n
publicAccess: true
plist:
inputs: SupportingFiles/Info.plist
outputs:
templatePath: Templates/Plists/runtime-swift5-element-info.stencil
output: InfoPlist.swift
params:
enumName: ElementInfoPlist