From 2fda90e414007ebd431432f1e46c4c9177819608 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Wed, 2 Feb 2022 01:04:27 -0700 Subject: [PATCH] docs-ci: prebuild cli bin with output to appease TravisCI hang check --- docs/build-cli-usage.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/build-cli-usage.sh b/docs/build-cli-usage.sh index 1d565d8a55..17c7d1de0c 100755 --- a/docs/build-cli-usage.sh +++ b/docs/build-cli-usage.sh @@ -9,6 +9,9 @@ source ../ci/rust-version.sh stable : "${rust_stable:=}" # Pacify shellcheck +# pre-build with output enabled to appease Travis CI's hang check +"$cargo" build -p solana-cli + usage=$("$cargo" stable -q run -p solana-cli -- -C ~/.foo --help | sed -e 's|'"$HOME"'|~|g' -e 's/[[:space:]]\+$//') out=${1:-src/cli/usage.md}