github.com/dolotech/hongbao@v0.0.0-20191130105438-fd59d7a5dda5/bin/run (about) 1 #!/bin/bash 2 #compile json 信息 3 # usage ./build-linux.sh 1.0.13 4 curDir=`pwd` 5 6 cd $curDir/.. 7 8 export GOPATH=`pwd` 9 export GOARCH=amd64 10 export GOOS=linux 11 12 13 cd bin 14 go run ../src/main.go --alsologtostderr --log_dir=./logs 15 16 17 read -p "Press any key to continue." var