Skip to content

Commit

Permalink
Add basecli to packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jun 23, 2017
1 parent 9627b7c commit 3747f23
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion scripts/dist_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ make tools
make get_vendor_deps

# Build!
echo "==> Building..."
echo "==> Building basecoin..."
"$(which gox)" \
-os="${XC_OS}" \
-arch="${XC_ARCH}" \
Expand All @@ -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
Expand Down

0 comments on commit 3747f23

Please sign in to comment.