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
1 changed files with 3 additions and 7 deletions

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