Added rustup

This commit is contained in:
Marcus Noble 2021-07-01 07:14:11 +01:00
parent 2cd75934ac
commit 0bbded8b58

View File

@ -8,7 +8,7 @@ pre-reqs: ## Install all required binaries.
which brew > /dev/null || bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"; \ which brew > /dev/null || bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"; \
[ -d ~/.oh-my-zsh ] || sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"; \ [ -d ~/.oh-my-zsh ] || sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"; \
brew list --cask homebrew/cask-fonts/font-open-dyslexic-nerd-font > /dev/null || brew install homebrew/cask-fonts/font-open-dyslexic-nerd-font; \ brew list --cask homebrew/cask-fonts/font-open-dyslexic-nerd-font > /dev/null || brew install homebrew/cask-fonts/font-open-dyslexic-nerd-font; \
brew list rust > /dev/null || brew install rust; \ which rustup > /dev/null || curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path; \
which fzf > /dev/null || brew install fzf; \ which fzf > /dev/null || brew install fzf; \
which bat > /dev/null || brew install bat; \ which bat > /dev/null || brew install bat; \
which curlie > /dev/null || brew install rs/tap/curlie; \ which curlie > /dev/null || brew install rs/tap/curlie; \
@ -39,7 +39,7 @@ pre-reqs: ## Install all required binaries.
.PHONY: upgrade .PHONY: upgrade
upgrade: ## Upgrade all required binaries. upgrade: ## Upgrade all required binaries.
brew list --cask homebrew/cask-fonts/font-open-dyslexic-nerd-font > /dev/null && brew upgrade homebrew/cask-fonts/font-open-dyslexic-nerd-font; \ brew list --cask homebrew/cask-fonts/font-open-dyslexic-nerd-font > /dev/null && brew upgrade homebrew/cask-fonts/font-open-dyslexic-nerd-font; \
brew list rust > /dev/null || brew upgrade rust; \ which rustup > /dev/null || rustup update; \
which fzf > /dev/null && brew upgrade fzf; \ which fzf > /dev/null && brew upgrade fzf; \
which bat > /dev/null && brew upgrade bat; \ which bat > /dev/null && brew upgrade bat; \
which curlie > /dev/null && brew upgrade rs/tap/curlie; \ which curlie > /dev/null && brew upgrade rs/tap/curlie; \