Skip to content

Commit 7be3464

Browse files
committed
f Separate out binding generation scripts
1 parent bcd71f2 commit 7be3464

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

scripts/uniffi_bindgen_generate.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
source ./scripts/uniffi_bindgen_generate_kotlin.sh
3+
source ./scripts/uniffi_bindgen_generate_python.sh
4+
source ./scripts/uniffi_bindgen_generate_swift.sh
5+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
uniffi-bindgen generate uniffi/ldk_node.udl --language kotlin
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
uniffi-bindgen generate uniffi/ldk_node.udl --language python

uniffi_bindgen_generate.sh renamed to scripts/uniffi_bindgen_generate_swift.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#!/bin/bash
2-
uniffi-bindgen generate uniffi/ldk_node.udl --language python
3-
uniffi-bindgen generate uniffi/ldk_node.udl --language kotlin
4-
52
uniffi-bindgen generate uniffi/ldk_node.udl --language swift
63
#swiftc -module-name ldk_node -emit-library -o libldk_node.dylib -emit-module -emit-module-path ./uniffi -parse-as-library -L ./target/release/ -lldk_node -Xcc -fmodule-map-file=./uniffi/ldk_nodeFFI.modulemap ./uniffi/ldk_node.swift -v
74
#swiftc -module-name ldk_node -emit-library -o libldk_node.dylib -emit-module -emit-module-path ./uniffi -parse-as-library -L ./target/debug/ -lldk_node -Xcc -fmodule-map-file=./uniffi/ldk_nodeFFI.modulemap ./uniffi/ldk_node.swift -v

0 commit comments

Comments
 (0)