bin/setup-rust

Sat, 16 Mar 2019 19:25:44 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 16 Mar 2019 19:25:44 -0400
changeset 750
36a4da0a9863
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

Separate errors from filter stream

#!/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