forked from home-assistant/iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swiftgen.yml
46 lines (45 loc) · 1.35 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
# 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
ib:
inputs:
- Sources/App/Resources/Base.lproj/Onboarding.storyboard
- 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/App/Resources/Assets.xcassets
outputs:
templateName: swift5
output: Sources/App/Resources/Assets.swift
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