docs-ci: prebuild cli bin with output to appease TravisCI hang check
This commit is contained in:
parent
eac4a6df68
commit
2fda90e414
|
@ -9,6 +9,9 @@ source ../ci/rust-version.sh stable
|
||||||
|
|
||||||
: "${rust_stable:=}" # Pacify shellcheck
|
: "${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:]]\+$//')
|
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}
|
out=${1:-src/cli/usage.md}
|
||||||
|
|
Loading…
Reference in New Issue