dendrite/build/gobind-pinecone/build.sh
Brian Meek 706e81f512 Revert "Merge upstream latest"
This reverts commit 06c319d580.
2023-02-07 17:14:27 -08:00

13 lines
390 B
Bash

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