scripts: fix dev build
This commit is contained in:
parent
e7e60cb493
commit
1b191a5183
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue