Rename bdk-kotlin companion project, fix gradle warnings

This commit is contained in:
Steve Myers
2021-06-14 13:59:56 -07:00
parent a37bae5b9d
commit e266634560
21 changed files with 323 additions and 63 deletions

View File

@@ -1,13 +1,14 @@
# rust
cargo build
cargo test --features c-headers -- generate_headers
export LD_LIBRARY_PATH=`pwd`/target/debug
# cc
cc bdk_ffi_test.c -o bdk_ffi_test -L target/debug -l bdk_ffi -l pthread -l dl -l m
#valgrind --leak-check=full ./bdk_ffi_test
./bdk_ffi_test
export LD_LIBRARY_PATH=`pwd`/target/debug
cc cc/bdk_ffi_test.c -o cc/bdk_ffi_test -L target/debug -l bdk_ffi -l pthread -l dl -l m
#valgrind --leak-check=full cc/bdk_ffi_test
cc/bdk_ffi_test
# jvm
mkdir -p jvm/build/jniLibs/x86_64_linux
cp target/debug/libbdk_ffi.so jvm/build/jniLibs/x86_64_linux
# bdk-kotlin
mkdir -p bdk-kotlin/jar/libs/x86_64_linux
cp target/debug/libbdk_ffi.so bdk-kotlin/jar/libs/x86_64_linux
(cd bdk-kotlin && gradle test)