Add scripts/install-help.sh

This commit is contained in:
Michael Vines 2019-03-18 16:21:57 -07:00
parent d0292b1cf1
commit 1d0f6a5d85
2 changed files with 22 additions and 1 deletions

21
scripts/install-help.sh Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"/..
cargo build --package solana-install
export PATH=$PWD/target/debug:$PATH
echo "\`\`\`manpage"
solana-install --help
echo "\`\`\`"
echo ""
commands=(init info deploy update run)
for x in "${commands[@]}"; do
echo "\`\`\`manpage"
solana-install "${x}" --help
echo "\`\`\`"
echo ""
done

View File

@ -3,7 +3,7 @@ set -e
cd "$(dirname "$0")"/..
cargo build
cargo build --package wallet
export PATH=$PWD/target/debug:$PATH
echo "\`\`\`manpage"