File tree Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,16 @@ ${PYBIN}/python --version
1010${PYBIN} /pip install -r requirements.txt
1111
1212cd ./bdk-ffi/bdk-ffi/
13- git checkout v1.2.0
1413
1514rustup default 1.84.1
1615
1716echo " Generating native binaries..."
1817cargo build --profile release-smaller
1918
2019echo " Generating bdk.py..."
21- cargo run --bin uniffi-bindgen generate --library ./target/release-smaller/libbdkffi.so --language python --out-dir ../src/bdkpython/ --no-format
20+ cargo run --bin uniffi-bindgen generate --library ./target/release-smaller/libbdkffi.so --language python --out-dir ../../ src/bdkpython/ --no-format
2221
2322echo " Copying linux libbdkffi.so..."
24- cp ./target/release-smaller/libbdkffi.so ../src/bdkpython/libbdkffi.so
23+ cp ./target/release-smaller/libbdkffi.so ../../ src/bdkpython/libbdkffi.so
2524
2625echo " All done!"
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ python3 --version
1010pip install -r requirements.txt
1111
1212cd ./bdk-ffi/bdk-ffi/
13- git checkout v1.2.0
1413
1514rustup default 1.84.1
1615rustup target add aarch64-apple-darwin
@@ -19,9 +18,9 @@ echo "Generating native binaries..."
1918cargo build --profile release-smaller --target aarch64-apple-darwin
2019
2120echo " Generating bdk.py..."
22- cargo run --bin uniffi-bindgen generate --library ./target/aarch64-apple-darwin/release-smaller/libbdkffi.dylib --language python --out-dir ../src/bdkpython/ --no-format
21+ cargo run --bin uniffi-bindgen generate --library ./target/aarch64-apple-darwin/release-smaller/libbdkffi.dylib --language python --out-dir ../../ src/bdkpython/ --no-format
2322
2423echo " Copying libraries libbdkffi.dylib..."
25- cp ./target/aarch64-apple-darwin/release-smaller/libbdkffi.dylib ../src/bdkpython/libbdkffi.dylib
24+ cp ./target/aarch64-apple-darwin/release-smaller/libbdkffi.dylib ../../ src/bdkpython/libbdkffi.dylib
2625
2726echo " All done!"
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ python3 --version
1010pip install -r requirements.txt
1111
1212cd ./bdk-ffi/bdk-ffi/
13- git checkout v1.2.0
1413
1514rustup default 1.84.1
1615rustup target add x86_64-apple-darwin
@@ -19,9 +18,9 @@ echo "Generating native binaries..."
1918cargo build --profile release-smaller --target x86_64-apple-darwin
2019
2120echo " Generating bdk.py..."
22- cargo run --bin uniffi-bindgen generate --library ./target/x86_64-apple-darwin/release-smaller/libbdkffi.dylib --language python --out-dir ../src/bdkpython/ --no-format
21+ cargo run --bin uniffi-bindgen generate --library ./target/x86_64-apple-darwin/release-smaller/libbdkffi.dylib --language python --out-dir ../../ src/bdkpython/ --no-format
2322
2423echo " Copying libraries libbdkffi.dylib..."
25- cp ./target/x86_64-apple-darwin/release-smaller/libbdkffi.dylib ../src/bdkpython/libbdkffi.dylib
24+ cp ./target/x86_64-apple-darwin/release-smaller/libbdkffi.dylib ../../ src/bdkpython/libbdkffi.dylib
2625
2726echo " All done!"
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ python3 --version
1010pip install -r requirements.txt
1111
1212cd ./bdk-ffi/bdk-ffi/
13- git checkout v1.2.0
1413
1514rustup default 1.84.1
1615rustup target add x86_64-pc-windows-msvc
@@ -19,9 +18,9 @@ echo "Generating native binaries..."
1918cargo build --profile release-smaller --target x86_64-pc-windows-msvc
2019
2120echo " Generating bdk.py..."
22- cargo run --bin uniffi-bindgen generate --library ./target/x86_64-pc-windows-msvc/release-smaller/bdkffi.dll --language python --out-dir ../src/bdkpython/ --no-format
21+ cargo run --bin uniffi-bindgen generate --library ./target/x86_64-pc-windows-msvc/release-smaller/bdkffi.dll --language python --out-dir ../../ src/bdkpython/ --no-format
2322
2423echo " Copying libraries bdkffi.dll..."
25- cp ./target/x86_64-pc-windows-msvc/release-smaller/bdkffi.dll ../src/bdkpython/bdkffi.dll
24+ cp ./target/x86_64-pc-windows-msvc/release-smaller/bdkffi.dll ../../ src/bdkpython/bdkffi.dll
2625
2726echo " All done!"
You can’t perform that action at this time.
0 commit comments