-
Notifications
You must be signed in to change notification settings - Fork 314
/
swiftgen.yml
53 lines (53 loc) · 1.68 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Updating this file to have new inputs or outputs?
# Make sure to re-run: `fastlane update_swiftgen_config`
# or it won't be executed when it changes in Xcode
strings:
- inputs: Sources/App/Resources/en.lproj/Localizable.strings
outputs:
templateName: structured-swift5
output: Sources/Shared/Resources/SwiftGen/Strings.swift
params:
publicAccess: true
lookupFunction: Current.localized.string
- inputs: Sources/App/Resources/en.lproj/Core.strings
outputs:
templateName: structured-swift5
output: Sources/Shared/Resources/SwiftGen/CoreStrings.swift
params:
publicAccess: true
lookupFunction: Current.localized.string
enumName: CoreStrings
- inputs: Sources/App/Resources/en.lproj/Frontend.strings
outputs:
templateName: structured-swift5
output: Sources/Shared/Resources/SwiftGen/FrontendStrings.swift
params:
publicAccess: true
lookupFunction: Current.localized.string
enumName: FrontendStrings
xcassets:
inputs:
- Sources/Shared/Assets/SharedAssets.xcassets
- Sources/Shared/Assets/Colors.xcassets
outputs:
templateName: swift5
output: Sources/Shared/Assets/Assets.swift
params:
publicAccess: true
plist:
inputs:
- Sources/Shared/Resources/Info.plist
outputs:
- templateName: runtime-swift5
output: Sources/Shared/Resources/SwiftGen/SharedPlist.swift
params:
enumName: SharedPlistFiles
forceFileNameEnum: true
json:
inputs:
- Tools/MaterialDesignIcons.json
outputs:
templatePath: Tools/icons.stencil
output: Sources/Shared/Iconic/MaterialDesignIcons.swift
params:
publicAccess: true