docs-ci: prebuild cli bin with output to appease TravisCI hang check (#22884)
(cherry picked from commit 2fda90e414
)
Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user