1 2 3 4 5 6 7 8 9
#!/bin/bash SRCDIR=$(pwd) GOPATH="$GOPATH:$SRCDIR" go env -w GOPATH=$GOPATH go build -o build/parse src/main.go