rtic/ci/install.sh

15 lines
332 B
Bash
Raw Normal View History

2017-07-27 22:02:25 +02:00
set -euxo pipefail
2017-04-12 06:12:06 +02:00
main() {
2017-07-21 06:03:45 +02:00
case $TARGET in
thumbv*-none-eabi*)
2017-09-22 20:20:13 +02:00
cargo install --list | grep 'xargo v0.3.8' || \
cargo install xargo --vers 0.3.8
2017-07-21 06:03:45 +02:00
rustup component list | grep 'rust-src.*installed' || \
rustup component add rust-src
;;
esac
2017-04-12 06:12:06 +02:00
}
main