mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Move SDKMocks into the Components folder
Group the standalone modules that live outside of the app targets under a single Components folder. Updates the XcodeGen include, the Codecov ignore path and the Sourcery output path used by the generate-sdk-mocks tool.
This commit is contained in:
@@ -26,7 +26,7 @@ struct GenerateSDKMocks: AsyncParsableCommand {
|
||||
|
||||
/// Generates the SDK mocks using Sourcery.
|
||||
func generateSDKMocks(ffiPath: String) throws {
|
||||
try Zsh.run(command: "sourcery --sources \(ffiPath) --templates Tools/Sourcery/SDKAutoMockable.stencil --output SDKMocks/Sources/Generated/SDKGeneratedMocks.swift")
|
||||
try Zsh.run(command: "sourcery --sources \(ffiPath) --templates Tools/Sourcery/SDKAutoMockable.stencil --output Components/SDKMocks/Sources/Generated/SDKGeneratedMocks.swift")
|
||||
}
|
||||
|
||||
/// Downloads the specified version of the `matrix_sdk_ffi.swift` file and returns the path to the downloaded file.
|
||||
|
||||
Reference in New Issue
Block a user