2021-02-02 12:05:47 +01:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
topdir=$(cd $(dirname $0) && pwd -P)
|
|
|
|
set -x
|
|
|
|
export PATH=$(go env GOPATH)/bin:$PATH
|
|
|
|
export GO111MODULE=off
|
|
|
|
go get -u golang.org/x/mobile/cmd/gomobile
|
|
|
|
gomobile init
|
|
|
|
export GO111MODULE=on
|
|
|
|
output=MOBILE/ios/oonimkall.framework
|
2021-02-03 13:51:15 +01:00
|
|
|
gomobile bind -target=ios -o $output -ldflags="-s -w" ./pkg/oonimkall
|