Logo
Explore Help
Sign In
gaspersic/solana
1
0
Fork 0
You've already forked solana
Code Issues Pull Requests Projects Releases Wiki Activity
Files
v1.4.5
solana/cargo-build-bpf

14 lines
271 B
Plaintext
Raw Permalink Normal View History

Add cargo-build-bpf (bp #13040) (#13075) * Add cargo-build-bpf (cherry picked from commit 07a853d6cc7605e90dc725d9dd736b85476eb294) * Remove do.sh (cherry picked from commit 61be1554132ecb9299f86e874feba64f31d29a2e) Co-authored-by: Michael Vines <mvines@gmail.com>
2020-10-22 03:09:52 +00:00
#!/usr/bin/env bash
here=$(dirname "$0")
Add cargo-test-bpf
2020-11-04 18:29:26 -08:00
maybe_bpf_sdk="--bpf-sdk $here/sdk/bpf"
for a in "$@"; do
if [[ $a = --bpf-sdk ]]; then
maybe_bpf_sdk=
fi
done
Add cargo-build-bpf (bp #13040) (#13075) * Add cargo-build-bpf (cherry picked from commit 07a853d6cc7605e90dc725d9dd736b85476eb294) * Remove do.sh (cherry picked from commit 61be1554132ecb9299f86e874feba64f31d29a2e) Co-authored-by: Michael Vines <mvines@gmail.com>
2020-10-22 03:09:52 +00:00
set -x
Add cargo-test-bpf
2020-11-04 18:29:26 -08:00
exec "$here"/cargo run --manifest-path "$here"/sdk/cargo-build-bpf/Cargo.toml -- $maybe_bpf_sdk "$@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 323ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API