-
Notifications
You must be signed in to change notification settings - Fork 2
/
swiftgen.yml
60 lines (50 loc) · 1.69 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
#run 'swiftgen' in app project (WORKSPACE/App) and it will update the UIColors.swift file
#Update colors using StandardColors.txt
xcassets:
inputs:
- ./OpenJobs/Resources/Assets/Assets.xcassets
- ./OpenJobs/Resources/Assets/Icons.xcassets
outputs:
- templateName: swift4
output: ./OpenJobs/Generated/SwiftGen/Assets/Assets.swift
fonts:
inputs:
- ./OpenJobs/Resources/Fonts
outputs:
- templateName: swift4
output: ./OpenJobs/Generated/SwiftGen/Fonts/GeneratedFonts.swift
ib:
inputs:
- ./OpenJobs/Base.lproj/LaunchScreen.storyboard
- ./OpenJobs/Base.lproj/Main.storyboard
outputs:
- templateName: scenes-swift4
output: ./OpenJobs/Generated/SwiftGen/Storyboards/StoryboardScenes.swift
- templateName: segues-swift4
output: ./OpenJobs/Generated/SwiftGen/Storyboards/StoryboardSegues.swift
coredata:
inputs:
- ./OpenJobs/OpenJobs.xcdatamodeld
outputs:
templateName: swift4
output: ./OpenJobs/Generated/SwiftGen/CoreData/GeneratedCoreData.swift
colors:
inputs:
- ./OpenJobs/Resources/Colors/StandardColors.txt
outputs:
templateName: swift4
output: ./OpenJobs/Generated/SwiftGen/Colors/GeneratedColors.swift
strings:
inputs:
- ./OpenJobs/Resources/Strings/DashBoard.strings
- ./OpenJobs/Resources/Strings/Mock.strings
outputs:
- templateName: structured-swift4
output: ./OpenJobs/Generated/SwiftGen/Strings/GeneratedStrings.swift
json:
inputs:
- ./OpenJobs/Resources/JsonFIle/jobsResult.json
- ./OpenJobsTests/MockResources/jobs.json
outputs:
- templateName: runtime-swift4
output: ./OpenJobs/Generated/SwiftGen/JSONFiles/GeneratedJSONFiles.swift