cicd.sh 424 B

1234567891011
  1. #!/bin/bash
  2. # This script is for quick building & deploying of the program.
  3. # It also serves as a reference for the commands used for building & deploying Solana programs.
  4. # Run this bad boy with "bash cicd.sh" or "./cicd.sh"
  5. cargo build-sbf --bpf-out-dir=./target/so
  6. echo "Hand:"
  7. solana program deploy ./target/so/hand.so | grep "Program Id:"
  8. echo "Lever:"
  9. solana program deploy ./target/so/lever.so | grep "Program Id:"