22 lines
356 B
Bash
22 lines
356 B
Bash
|
#!/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
|