docs-ci: prebuild cli bin with output to appease TravisCI hang check

This commit is contained in:
Trent Nelson 2022-02-02 01:04:27 -07:00 committed by mergify[bot]
parent eac4a6df68
commit 2fda90e414
1 changed files with 3 additions and 0 deletions

View File

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