scripts: fix dev build

This commit is contained in:
Mitchell Hashimoto 2014-08-28 16:47:14 -07:00
parent e7e60cb493
commit 1b191a5183
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ echo "==> Removing old directory..."
rm -f bin/* rm -f bin/*
rm -rf pkg/* rm -rf pkg/*
# If its dev mode, only build for ourself
if [ "${TF_DEV}x" != "x" ]; then
XC_OS=$(go env GOOS)
XC_ARCH=$(go env GOARCH)
fi
# Build! # Build!
echo "==> Building..." echo "==> Building..."
gox \ gox \