Make rust use XDG directories
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
606ca1e914
commit
e2594c49f6
2 changed files with 15 additions and 3 deletions
|
@ -26,8 +26,18 @@ NPM_PACKAGES=(
|
|||
"npm-check-updates"
|
||||
)
|
||||
|
||||
RUST_COMPONENTS=(
|
||||
"rls-preview"
|
||||
"rustfmt-preview"
|
||||
)
|
||||
|
||||
#######################################
|
||||
# Main code
|
||||
#######################################
|
||||
print_header "Installing global npm packages"
|
||||
npm i -g "${NPM_PACKAGES[@]}"
|
||||
npm i -g "${NPM_PACKAGES[@]}"
|
||||
|
||||
print_header "Install Rust toolchain and components"
|
||||
rustup toolchain install beta
|
||||
rustup default beta
|
||||
rustup component add "${RUST_COMPONENTS[@]}"
|
Loading…
Add table
Add a link
Reference in a new issue