Closed jhugman closed 1 month ago
According to The Big O of Code Reviews, this is a O(n) change.
This PR combines the build step with the generate bindings and generate turbo-module steps.
build
generate bindings
generate turbo-module
Instead of:
ubrn build ios --config matrix-sdk.yaml (cd rust_modules/matrix-rust-sdk && ubrn generate bindings --library target/aarch64-apple-ios/debug/libmatrix_sdk.a --ts-dir ../../src/generated --cpp-dir ../../cpp/generated ) ubrn generate turbo-module --config matrix-sdk.yaml matrix_sdk matrix_sdk_ui matrix_sdk_ffi
Now, we only have to add --and-generate to the build command:
--and-generate
ubrn build ios --config matrix-sdk.yaml --and-generate
According to The Big O of Code Reviews, this is a O(n) change.
This PR combines the
build
step with thegenerate bindings
andgenerate turbo-module
steps.Instead of:
Now, we only have to add
--and-generate
to the build command: