File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ struct SourcesBuilder {
66
66
return true
67
67
}
68
68
69
- sources = sourceURLs. map {
70
- let folderName = $0. lastPathComponent
69
+ sources = sourceURLs. map ( \ . lastPathComponent ) . sorted ( ) . map {
70
+ let folderName = $0
71
71
let targetName = folderName. replacingOccurrences ( of: " - " , with: " _ " ) . capitalized
72
72
return Source ( folderName: folderName, targetName: " GitHubRestAPI \( targetName) " )
73
73
}
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ struct SourcesBuilder {
66
66
return true
67
67
}
68
68
69
- sources = sourceURLs. map {
70
- let folderName = $0. lastPathComponent
69
+ sources = sourceURLs. map ( \ . lastPathComponent ) . sorted ( ) . map {
70
+ let folderName = $0
71
71
let targetName = folderName. replacingOccurrences ( of: " - " , with: " _ " ) . capitalized
72
72
return Source ( folderName: folderName, targetName: " GitHubRestAPI \( targetName) " )
73
73
}
@@ -87,6 +87,7 @@ struct SPIManifestBuilder {
87
87
configs:
88
88
- documentation_targets:
89
89
\#( targetNamesString)
90
+
90
91
"""#
91
92
}
92
93
You can’t perform that action at this time.
0 commit comments