-
Notifications
You must be signed in to change notification settings - Fork 310
/
swiftgen.yml
63 lines (63 loc) · 1.96 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
54
55
56
57
58
59
60
61
62
63
# 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
ib:
inputs:
- Sources/App/ClientEvents/ClientEvents.storyboard
outputs:
- templateName: scenes-swift5
output: Sources/App/Resources/Scenes.swift
params:
module: HomeAssistant
- templateName: segues-swift5
output: Sources/App/Resources/Segues.swift
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