Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion basics/account-data/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/checking-accounts/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/close-account/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/create-account/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/cross-program-invocation/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --bpf-out-dir=./target/so
cargo build-sbf --sbf-out-dir=./target/so
echo "Hand:"
solana program deploy ./target/so/hand.so | grep "Program Id:"
echo "Lever:"
Expand Down
2 changes: 1 addition & 1 deletion basics/favorites/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/hello-solana/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/pda-rent-payer/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/processing-instructions/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/program-derived-addresses/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/realloc/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/rent/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/repository-layout/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
2 changes: 1 addition & 1 deletion basics/transfer-sol/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so