mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Update rust setup
This commit is contained in:
1
Brewfile
1
Brewfile
@@ -47,6 +47,7 @@ brew 'readline'
|
|||||||
brew 'reattach-to-user-namespace'
|
brew 'reattach-to-user-namespace'
|
||||||
brew 'redis'
|
brew 'redis'
|
||||||
brew 'ruby-build'
|
brew 'ruby-build'
|
||||||
|
brew 'rustup-init'
|
||||||
brew 'shellcheck'
|
brew 'shellcheck'
|
||||||
brew 'skopeo'
|
brew 'skopeo'
|
||||||
brew 'sops'
|
brew 'sops'
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ if [ -d "$HOME/.cargo/bin" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
install_rust_global_packages() {
|
install_rust_global_packages() {
|
||||||
rustup component add rustfmt-preview
|
rustup component add \
|
||||||
rustup component add rust-src
|
rls \
|
||||||
cargo +nightly install --force clippy
|
rust-analysis \
|
||||||
cargo install --force racer
|
rust-src \
|
||||||
|
rustfmt \
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user