-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
swiftgen.yml
18 lines (15 loc) · 966 Bytes
/
swiftgen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Note: all of the config entries below are just examples with placeholders. Be sure to edit and adjust to your needs when uncommenting.
## In case your config entries all use a common input/output parent directory, you can specify those here.
## Every input/output paths in the rest of the config will then be expressed relative to these.
## Those two top-level keys are optional and default to "." (the directory of the config file).
# input_dir: MyLib/Sources/
# output_dir: MyLib/Generated/
## Generate constants for your localized strings.
## Be sure that SwiftGen only parses ONE locale (typically Base.lproj, or en.lproj, or whichever your development region is); otherwise it will generate the same keys multiple times.
## SwiftGen will parse all `.strings` files found in that folder.
strings:
inputs:
- MensaDresden/en.lproj/Localizable.strings
outputs:
- templateName: structured-swift5
output: MensaDresden/L10n.swift