forked from byassine52/Demo-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swiftgen.yml
69 lines (60 loc) · 1.24 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
64
65
66
67
68
69
input_dir: Demo
output_dir: Demo/Common/Helpers/SwiftGen
# colors:
# inputs:
# - Common/Helpers/Colors.txt
# outputs:
# - templateName: literals-swift5
# output: Colors.swift
fonts:
inputs:
- Resources/Fonts
outputs:
- templateName: swift5
output: Fonts.swift
ib:
inputs:
- Scenes
outputs:
- templateName: scenes-swift5
output: Storyboards Scenes.swift
params:
ignoreTargetModule: true
- templateName: segues-swift5
output: Storyboards Segues.swift
strings:
inputs:
- Common/Localizations/Base.lproj
outputs:
- templateName: structured-swift5
output: Strings.swift
params:
publicAccess: true
xcassets:
inputs:
- Resources/Assets.xcassets
outputs:
- templateName: swift5
output: Assets.swift
params:
publicAccess: true
# Static Data assets
json:
inputs:
- Preview Content/Data
outputs:
- templateName: runtime-swift5
output: JSONFiles.swift
yaml:
inputs:
- Preview Content/Data
outputs:
- templateName: inline-swift5
output: YAMLFiles.swift
plist:
inputs:
- Info.plist
- Preview Content/Data
outputs:
- templateName: runtime-swift5
output: PlistFiles.swift