install Rust
This commit is contained in:
parent
4a5fca7875
commit
60428a5f01
1
Brewfile
1
Brewfile
@ -128,3 +128,4 @@ brew "tflint" # terraform linter
|
|||||||
brew "ktlint" # kotlin linter
|
brew "ktlint" # kotlin linter
|
||||||
brew "cmake" # compiler, was needed for compiling YouCompleteMe, see https://github.com/ycm-core/YouCompleteMe
|
brew "cmake" # compiler, was needed for compiling YouCompleteMe, see https://github.com/ycm-core/YouCompleteMe
|
||||||
brew "zola" # a simple and fast static site generator
|
brew "zola" # a simple and fast static site generator
|
||||||
|
brew "rustup" # Install Rust
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
export PATH="$HOME/.cargo/bin:$PATH"
|
@ -167,6 +167,9 @@ case "$(uname -s)" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Use rustup to install the Rust compiler (rustc) and the Rust package manager (cargo).
|
||||||
|
rustup-init -y
|
||||||
|
|
||||||
# Upgrade
|
# Upgrade
|
||||||
~/.scripts/upgrade.sh
|
~/.scripts/upgrade.sh
|
||||||
|
|
||||||
|
@ -16,4 +16,4 @@ pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n
|
|||||||
pip freeze > ~/requirements.txt
|
pip freeze > ~/requirements.txt
|
||||||
# Update VIM plugins installed via Vundle https://github.com/VundleVim/Vundle.vim
|
# Update VIM plugins installed via Vundle https://github.com/VundleVim/Vundle.vim
|
||||||
vim +PluginUpdate +qall
|
vim +PluginUpdate +qall
|
||||||
|
rustup-update
|
||||||
|
1
dot_scripts/version.sh
Normal file
1
dot_scripts/version.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
rustc --version
|
@ -116,11 +116,13 @@ export SDKMAN_DIR="$HOME/.sdkman"
|
|||||||
|
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin)
|
Darwin)
|
||||||
ln -snf /usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin/pip pip3
|
ln -snf /usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin/pip /usr/local/bin/pip3
|
||||||
export PATH="$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/:/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin"
|
export PATH="$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/:/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
. ~/.3llo_config
|
. ~/.3llo_config
|
||||||
export GOPATH="$HOME/go"
|
export GOPATH="$HOME/go"
|
||||||
export PATH="/usr/local/opt/grep/libexec/gnubin:$GOPATH/bin:$PATH"
|
export RUSTPATH="$HOME/.cargo/bin"
|
||||||
|
export PATH="/usr/local/opt/grep/libexec/gnubin:$GOPATH/bin:$RUSTPATH:$PATH"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user