bin/setup-rust@f8da8d4ff16a
bin/setup-rust
Mon, 16 Sep 2019 21:36:29 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Mon, 16 Sep 2019 21:36:29 -0400
- changeset 788
- f8da8d4ff16a
- parent 723
-
9d9fecc3ea30
- permissions
- -rwxr-xr-x
use shfmt if available
#!/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