rtic/ci/install.sh

15 lines
299 B
Bash
Raw Normal View History

2017-04-12 06:12:06 +02:00
set -ex
main() {
2017-07-21 06:03:45 +02:00
case $TARGET in
thumbv*-none-eabi*)
cargo install --list | grep xargo || \
cargo install xargo
rustup component list | grep 'rust-src.*installed' || \
rustup component add rust-src
;;
esac
2017-04-12 06:12:06 +02:00
}
main