mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Update build script
This commit is contained in:
parent
d9aeb293e2
commit
37da2bcbe9
|
|
@ -6,17 +6,8 @@ while getopts "ai" option
|
||||||
do
|
do
|
||||||
case "$option"
|
case "$option"
|
||||||
in
|
in
|
||||||
a) TARGET="android";;
|
a) gomobile bind -v -target android github.com/matrix-org/dendrite/build/gobind-pinecone ;;
|
||||||
i) TARGET="ios";;
|
i) gomobile bind -v -target ios github.com/matrix-org/dendrite/build/gobind-pinecone ;;
|
||||||
|
*) echo "No target specified, specify -a or -i"; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
done
|
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
|
|
||||||
Loading…
Reference in a new issue