pyth-network / pyth-client

Client API for on-chain pyth programs
https://pyth.network
Apache License 2.0
169 stars 102 forks source link

scripts/build-bpf.sh: Move contract binaries to target/pyth/{solana|pythnet} #380

Closed drozdziak1 closed 1 year ago

drozdziak1 commented 1 year ago

This change makes scripts/build-bpf.sh provide both solana/pythnet contract flavors in a custom target/pyth directory. It should help disambiguate the binaries and make building for both environments a single step. Previously, the build would overwrite the Solana contract flavor with the --features pythnet version.