mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
SDK Bump to 1.0.74 (#1059)
* testing improvements * code improvements and sdk bump * improved the stencil file * improved the build sdk function * code improvement * also added the tearDown
This commit is contained in:
@@ -27,8 +27,8 @@ import {{ import }}
|
||||
{% call swiftifyMethodName method.selectorName %}ReceivedInvocations.append({% for param in method.parameters %}{{ param.name }}){% endfor %}
|
||||
{% else %}
|
||||
{% if not method.parameters.count == 0 and not hasNonEscapingClosures %}
|
||||
{% call swiftifyMethodName method.selectorName %}ReceivedArguments = ({% for param in method.parameters %}{{ param.name }}: {{ param.name }}{% if not forloop.last%}, {% endif %}{% endfor %})
|
||||
{% call swiftifyMethodName method.selectorName %}ReceivedInvocations.append(({% for param in method.parameters %}{{ param.name }}: {{ param.name }}{% if not forloop.last%}, {% endif %}{% endfor %}))
|
||||
{% call swiftifyMethodName method.selectorName %}ReceivedArguments = ({% for param in method.parameters %}{{ param.name | replace:"`","" }}: {{ param.name | replace:"`","" }}{% if not forloop.last%}, {% endif %}{% endfor %})
|
||||
{% call swiftifyMethodName method.selectorName %}ReceivedInvocations.append(({% for param in method.parameters %}{{ param.name | replace:"`","" }}: {{ param.name | replace:"`","" }}{% if not forloop.last%}, {% endif %}{% endfor %}))
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
@@ -54,6 +54,7 @@ struct BuildSDK: ParsableCommand {
|
||||
try checkoutBranchIfSupplied()
|
||||
try buildFramework()
|
||||
try updateXcodeProject()
|
||||
try generateSDKMocks()
|
||||
}
|
||||
|
||||
/// Checks that all of the required targets have been added through rustup
|
||||
@@ -115,4 +116,10 @@ struct BuildSDK: ParsableCommand {
|
||||
let updatedYAMLString = try Yams.serialize(node: projectConfig)
|
||||
try updatedYAMLString.write(to: yamlURL, atomically: true, encoding: .utf8)
|
||||
}
|
||||
|
||||
func generateSDKMocks() throws {
|
||||
var command = GenerateSDKMocks()
|
||||
command.version = "local"
|
||||
try command.run()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user