program-examples
program-examples copied to clipboard
Update --bpf-out-dir to --sbf-out-dir
Hello, I'm a Solana newbie and this is my first time contributing to this project.
I tried running some of the native examples but got the following error:
$ bash basics/account-data/native/cicd.sh
error: Found argument '--bpf-out-dir' which wasn't expected, or isn't valid in this context
Did you mean '--sbf-out-dir'?
If you tried to supply `--bpf-out-dir` as a value rather than a flag, use `-- --bpf-out-dir`
USAGE:
cargo-build-sbf --manifest-path <PATH> --sbf-out-dir <DIRECTORY>
So I have updated all the cicd.sh scripts to use --sbf-out-dir instead of --bpf-out-dir.
By the way, are these cicd.sh scripts supposed to run as part of the CI/CD? If so, I can try hooking them up in the next pull request.