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 {
6666 return true
6767 }
6868
69- sources = sourceURLs. map {
70- let folderName = $0. lastPathComponent
69+ sources = sourceURLs. map ( \ . lastPathComponent ) . sorted ( ) . map {
70+ let folderName = $0
7171 let targetName = folderName. replacingOccurrences ( of: " - " , with: " _ " ) . capitalized
7272 return Source ( folderName: folderName, targetName: " GitHubRestAPI \( targetName) " )
7373 }
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ struct SourcesBuilder {
6666 return true
6767 }
6868
69- sources = sourceURLs. map {
70- let folderName = $0. lastPathComponent
69+ sources = sourceURLs. map ( \ . lastPathComponent ) . sorted ( ) . map {
70+ let folderName = $0
7171 let targetName = folderName. replacingOccurrences ( of: " - " , with: " _ " ) . capitalized
7272 return Source ( folderName: folderName, targetName: " GitHubRestAPI \( targetName) " )
7373 }
@@ -87,6 +87,7 @@ struct SPIManifestBuilder {
8787 configs:
8888 - documentation_targets:
8989 \#( targetNamesString)
90+
9091 """#
9192 }
9293
You can’t perform that action at this time.
0 commit comments