2019-03-18 16:21:57 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")"/..
|
2020-10-12 20:19:41 -07:00
|
|
|
cargo="$(readlink -f "./cargo")"
|
2019-03-18 16:21:57 -07:00
|
|
|
|
2020-10-12 20:19:41 -07:00
|
|
|
"$cargo" build --package solana-install
|
2019-03-18 16:21:57 -07:00
|
|
|
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
|