23 lines
392 B
Bash
Executable File
23 lines
392 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"/..
|
|
cargo="$(readlink -f "./cargo")"
|
|
|
|
"$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
|