rtic/ci/install.sh

15 lines
310 B
Bash
Raw Permalink 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*)
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