Skip to content

Commit 9fe308a

Browse files
ZortacDevgabrielalao
authored andcommitted
Update gopenpgp_build.sh
1 parent dd1ae7b commit 9fe308a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gopenpgp_build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
OLDGOPATH=$GOPATH
4+
OLDPATH=$PATH
45

56
export GOPATH=$(pwd)/go
67

@@ -21,8 +22,10 @@ GO111MODULE=on go mod vendor
2122
git checkout v1.0.0
2223

2324
cd $GOPATH
25+
export PATH=$PATH:$GOPATH/bin
2426
mkdir dist
2527

2628
$GOPATH/bin/gomobile bind -target ios -o dist/Gopenpgpwrapper.framework gopenpgpwrapper
2729

2830
export GOPATH=$OLDGOPATH
31+
export PATH=$OLDPATH

0 commit comments

Comments
 (0)