Skip to content
Snippets Groups Projects
Select Git revision
  • ce5bee6e37b4127040224523a1af85c275401a18
  • master default protected
  • itm
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • v0.1.7
  • v0.2.12
  • v0.3.1
  • v0.3.0
  • v0.2.11
  • v0.2.10
  • v0.2.9
  • v0.2.8
  • v0.2.7
  • v0.2.6
  • v0.2.5
  • v0.2.4
  • v0.2.3
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.6
23 results

install.sh

Blame
  • install.sh 464 B
    set -euxo pipefail
    
    main() {
        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
    }
    
    # NOTE(TRAVIS_BRANCH) Travis is configured to only build *pushes* (not PRs)
    if [ $TRAVIS_BRANCH != master ] || [ $TRAVIS_EVENT_TYPE = cron ]; then
        main
    fi