mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-26 09:24:32 +01:00
* Improve development guides * Apply suggestions from code review Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com> * Add Firefox prerequisites --------- Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>
31 lines
639 B
Markdown
31 lines
639 B
Markdown
# Development guide - Bindings crate
|
|
This crate is responsible for building UniFFI bindings.
|
|
|
|
## Prerequisites
|
|
To build you need to first install:
|
|
- [Protobuf](https://protobuf.dev/installation/)
|
|
```bash
|
|
brew install protobuf
|
|
```
|
|
|
|
Set the ANDROID_NDK_HOME env variable to your Android NDK directory:
|
|
```bash
|
|
export ANDROID_NDK_HOME=<your android ndk directory>
|
|
```
|
|
|
|
On first usage you will need to run:
|
|
```bash
|
|
make init
|
|
```
|
|
|
|
## Building
|
|
To build bindings for individual languages please see the available [Makefile tasks](lib/bindings/makefile). Otherwise to build all bindings run:
|
|
```bash
|
|
make all
|
|
```
|
|
|
|
## Testing
|
|
```bash
|
|
make test
|
|
```
|