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:
Jay Looney 2016-01-21 04:55:12 -06:00
parent c353aa9260
commit dc9b9168d1
1 changed files with 1 additions and 1 deletions

View File

@ -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}" \