| 1 | #!/bin/bash |
| 2 | set -x -e |
| 3 | |
| 4 | if [[ ! -d "bitbox_flutter" ]]; |
| 5 | then |
| 6 | git clone https://github.com/konstantinullrich/bitbox_flutter |
| 7 | fi |
| 8 | |
| 9 | cd bitbox_flutter |
| 10 | git fetch -a |
| 11 | git reset --hard |
| 12 | git checkout 5a6e6dd388ef64003f86094af80d5453518b601d |
| 13 | git reset --hard |
| 14 | |
| 15 | bash ./build_bindings.sh --dont-install |
| 16 | |
| 17 | FILE=api.aar |
| 18 | if [ -f "$FILE" ]; then |
| 19 | echo "$FILE exists." |
| 20 | fi |