Add basecli to packaging script

This commit is contained in:
Ethan Frey 2017-06-23 09:24:08 +02:00
parent 9627b7cd60
commit 3747f23a25

View File

@ -25,7 +25,7 @@ make tools
make get_vendor_deps
# Build!
echo "==> Building..."
echo "==> Building basecoin..."
"$(which gox)" \
-os="${XC_OS}" \
-arch="${XC_ARCH}" \
@ -35,6 +35,16 @@ echo "==> Building..."
-tags="${BUILD_TAGS}" \
github.com/tendermint/basecoin/cmd/basecoin
echo "==> Building basecli..."
"$(which gox)" \
-os="${XC_OS}" \
-arch="${XC_ARCH}" \
-osarch="!darwin/arm !solaris/amd64 !freebsd/amd64" \
-ldflags "-X ${GIT_IMPORT}.GitCommit='${GIT_COMMIT}' -X ${GIT_IMPORT}.GitDescribe='${GIT_DESCRIBE}'" \
-output "build/pkg/{{.OS}}_{{.Arch}}/basecli" \
-tags="${BUILD_TAGS}" \
github.com/tendermint/basecoin/cmd/basecli
# Zip all the files.
echo "==> Packaging..."
for PLATFORM in $(find ./build/pkg -mindepth 1 -maxdepth 1 -type d); do