File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11## Generating the Bindings
22
3+ ## Build All Bindings
34Run in the root dir:
45``` sh
56RUSTFLAGS=" --cfg no_download" cargo build && ./scripts/uniffi_bindgen_generate.sh && ./scripts/swift_create_xcframework_archive.sh && sh scripts/uniffi_bindgen_generate_kotlin_android.sh
@@ -11,7 +12,7 @@ Detailed instructions for publishing a new version of the bindings.
1112
12131 . Update ` Cargo.toml `
13142 . Update ` libraryVersion ` in ` bindings/kotlin/ldk-node-android/gradle.properties `
14- 3 . Run the command to generate all bindings
15+ 3 . Run the above command to build all bindings
15164 . Open a PR with the changes
16175 . Create a new GitHub release with a new tag like ` v0.1.0 ` , uploading the following files:
1718 - ` bindings/swift/LDKNodeFFI.xcframework.zip `
Original file line number Diff line number Diff line change @@ -5,11 +5,9 @@ TARGET_DIR="target"
55PROJECT_DIR=" ldk-node-android"
66ANDROID_LIB_DIR=" $BINDINGS_DIR /$PROJECT_DIR "
77
8- # Ensure gobley-uniffi-bindgen is installed from fork
9- if ! command -v gobley-uniffi-bindgen & > /dev/null; then
10- echo " Installing gobley-uniffi-bindgen fork..."
11- cargo install --git https://github.com/ovitrif/gobley.git --branch main gobley-uniffi-bindgen
12- fi
8+ # Install gobley-uniffi-bindgen from fork with patched version
9+ echo " Installing gobley-uniffi-bindgen fork..."
10+ cargo install --git https://github.com/ovitrif/gobley.git --branch fix-v0.2.0 gobley-uniffi-bindgen --force
1311UNIFFI_BINDGEN_BIN=" gobley-uniffi-bindgen"
1412
1513export_variable_if_not_present () {
You can’t perform that action at this time.
0 commit comments