Update scripts for cross-compile

IT doesn't really work though because of cgo but... at least its there.
This commit is contained in:
Mitchell Hashimoto 2014-02-22 14:57:19 -08:00
parent f65ba3c365
commit 01e73fa033

View file

@ -32,15 +32,11 @@ echo "OS: ${XC_OS}"
trap "kill 0" SIGINT SIGTERM EXIT
# This function builds whatever directory we're in...
goxc \
gox \
-arch="$XC_ARCH" \
-os="$XC_OS" \
-d="${DIR}/pkg" \
-pv="${VERSION}" \
-pr="${PREVERSION}" \
$XC_OPTS \
go-install \
xc
-output "pkg/${VERSIONDIR}/{{.OS}}_{{.Arch}}/consul" \
.
# Zip all the packages
mkdir -p ./pkg/${VERSIONDIR}/dist