-
Notifications
You must be signed in to change notification settings - Fork 0
/
swiftgen.yml
29 lines (26 loc) · 870 Bytes
/
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
29
input_dir: viaplaySections/viaplaySections/Resources/
output_dir: viaplaySections/viaplaySections/Resources/
## 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:
- Strings/en.lproj
outputs:
- templateName: structured-swift5
output: Strings/L10n.swift
xcassets:
inputs:
- Images/Images.xcassets
outputs:
- templateName: swift5
output: Images/Image.swift
params:
enumName: Images
inputs:
- Colors/Colors.xcassets
outputs:
- templateName: swift5
output: Colors/Color.swift
params:
enumName: Colors