bin/setup-rust

Wed, 26 Apr 2023 10:58:22 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 26 Apr 2023 10:58:22 -0500
changeset 1106
902c7d44ab23
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

add just and fzf stubs, also install gum from binary

723
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/bash
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu -o pipefail
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 if rustup update; then
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 exit
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 fi
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 curl https://sh.rustup.rs -sSf | sh
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 source ~/.cargo/env
9d9fecc3ea30 add setup-rust
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 rustup component add rls rustfmt

mercurial