Fix #1488
gox doesn't get copied anywhere that might be in the users $PATH by default, however if someone has a functional Go setup they are required to have a $GOPATH variable which will contain their Go workspace and executables of all built go programs under $GOPATH/bin There are certainly many solutions to this but after reading the Go documentation this seemed to me like it would be the quickest and most cross-platform.
This commit is contained in:
parent
4770277cdc
commit
2e5027cdca
|
@ -38,7 +38,7 @@ fi
|
|||
|
||||
# Build!
|
||||
echo "==> Building..."
|
||||
gox \
|
||||
$GOPATH/bin/gox \
|
||||
-os="${XC_OS}" \
|
||||
-arch="${XC_ARCH}" \
|
||||
-ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY} -X main.GitDescribe ${GIT_DESCRIBE}" \
|
||||
|
|
Loading…
Reference in New Issue