Add uniffi/cli as default feature to cargo

This commit is contained in:
thunderbiscuit committed 2023-03-23 12:39:22 -04:00
1 parent 3dc6596aa2
commit 81e208222a
6 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -5,10 +5,10 @@ OS=$(uname -s)
echo "Generating bdk.py..."
cd ../bdk-ffi/
cargo run --features uniffi/cli --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
echo "Generating native binaries..."
cargo build --features uniffi/cli --profile release-smaller
cargo build --profile release-smaller
case $OS in
"Darwin")
echo "Copying macOS libbdkffi.dylib..."