bin/setup-rust

Fri, 22 Nov 2019 23:07:56 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 22 Nov 2019 23:07:56 -0600
changeset 832
8acb094e5e12
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

use cword as ag/rg default

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