Skip to content

Commit 0748247

Browse files
authored
Write extension sources into an Extensions subdirectory (#141)
* Update Output to write extensions into their own subdirectory * Rerecord snapshots
1 parent ea1b9d7 commit 0748247

File tree

88 files changed

+2
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2
-1
lines changed

Sources/CreateAPI/Output/Output.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ struct Output {
4444
try groupWriter.write(file: file, header: output.header, template: template, options: options)
4545
}
4646

47+
let extensionWriter = sourcesWriter.writer(in: "Extensions")
4748
for file in output.extensions {
48-
try sourcesWriter.write(file: file, header: output.header, options: options)
49+
try extensionWriter.write(file: file, header: output.header, options: options)
4950
}
5051
}
5152
}

0 commit comments

Comments
 (0)