-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswiftgen.yml
28 lines (24 loc) · 1.11 KB
/
swiftgen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## 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: TaskForce-UIKit/Resources/
output_dir: TaskForce-UIKit/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:
- en.lproj
outputs:
- templateName: structured-swift5
output: Strings+Generated.swift
xcassets:
inputs:
- Images.xcassets
- Colors.xcassets
outputs:
- templateName: swift5
params:
forceProvidesNamespaces: true
output: XCAssets+Generated.swift