Update gopenpgp_build.sh
This commit is contained in:
parent
4bcdd995d3
commit
19ca3ea4f0
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
OLDGOPATH=$GOPATH
|
OLDGOPATH=$GOPATH
|
||||||
|
OLDPATH=$PATH
|
||||||
|
|
||||||
export GOPATH=$(pwd)/go
|
export GOPATH=$(pwd)/go
|
||||||
|
|
||||||
|
|
@ -21,8 +22,10 @@ GO111MODULE=on go mod vendor
|
||||||
git checkout v1.0.0
|
git checkout v1.0.0
|
||||||
|
|
||||||
cd $GOPATH
|
cd $GOPATH
|
||||||
|
export PATH=$PATH:$GOPATH/bin
|
||||||
mkdir dist
|
mkdir dist
|
||||||
|
|
||||||
$GOPATH/bin/gomobile bind -target ios -o dist/Gopenpgpwrapper.framework gopenpgpwrapper
|
$GOPATH/bin/gomobile bind -target ios -o dist/Gopenpgpwrapper.framework gopenpgpwrapper
|
||||||
|
|
||||||
export GOPATH=$OLDGOPATH
|
export GOPATH=$OLDGOPATH
|
||||||
|
export PATH=$OLDPATH
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue