dendrite/build/gobind-pinecone/build.sh
2021-01-27 11:26:57 +00:00

22 lines
329 B
Bash

#!/bin/sh
TARGET=""
while getopts "ai" option
do
case "$option"
in
a) TARGET="android";;
i) TARGET="ios";;
esac
done
if [[ $TARGET = "" ]];
then
echo "No target specified, specify -a or -i"
exit 1
fi
gomobile bind -v \
-target $TARGET \
github.com/matrix-org/dendrite/build/gobind-pinecone