Skip to content

Latest commit

 

History

History
31 lines (30 loc) · 1 KB

README.md

File metadata and controls

31 lines (30 loc) · 1 KB

breez

In order to build breez you will need to install gomobile and go 1.13.4. If you install go from homebrew, you will have to ensure the GOPATH environment variable is set yourself.

Prepare your environment

git clone https://github.com/breez/breez.git
go get -d golang.org/x/mobile/cmd/gomobile
go get -d golang.org/x/mobile/cmd/gobind
export PATH=$PATH:$GOPATH/bin
gomobile init

Building breez for Android

You need to install the ndk as part of your sdk Tools. If you have a separate ndk installed then make sure to set the ANDROID_NDK_HOME environment variable to your ndk install location.

export ANDROID_HOME=<your android sdk directory>

Or in case you want to use a direct ndk path

export ANDROID_NDK_HOME=<your android ndk directory>

Then you ready to run the build:

./build.sh

The file breez.aar will be built in build/android/

Building breez for iOS

./build-ios.sh

The bindings.framework will be built in build/ios/