Add scripts/install-help.sh
This commit is contained in:
21
scripts/install-help.sh
Executable file
21
scripts/install-help.sh
Executable 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
|
@ -3,7 +3,7 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "$0")"/..
|
cd "$(dirname "$0")"/..
|
||||||
|
|
||||||
cargo build
|
cargo build --package wallet
|
||||||
export PATH=$PWD/target/debug:$PATH
|
export PATH=$PWD/target/debug:$PATH
|
||||||
|
|
||||||
echo "\`\`\`manpage"
|
echo "\`\`\`manpage"
|
||||||
|
Reference in New Issue
Block a user