bin/setup-rust

Mon, 14 Oct 2019 17:14:16 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 14 Oct 2019 17:14:16 -0500
changeset 798
d690f45fd713
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

simplify - there's no need to handle other branches or moves in this

#!/bin/bash
set -eu -o pipefail

if rustup update; then
  exit
fi

curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup component add rls rustfmt

mercurial