Update scripts for cross-compile

IT doesn't really work though because of cgo but... at least its there.
pull/19/head
Mitchell Hashimoto 11 years ago
parent 800975200a
commit 94171d316a

@ -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

Loading…
Cancel
Save