[provisioning] update recipes

This commit is contained in:
Correl Roush 2021-01-21 19:21:46 -05:00
parent 67cf5f8a15
commit 9859451198
5 changed files with 16 additions and 12 deletions

View file

@ -16,4 +16,4 @@ if ! [ -d ${HOME}/.doom.d ]; then
_run "[emacs-doom] Install .doom.d" ln -s ${HOME}/dotfiles/.doom.d ${HOME}/.doom.d
fi
_run "[emacs-doom] Refreshing" $HOME/.emacs.d/bin/doom refresh
_run "[emacs-doom] Refreshing" $HOME/.emacs.d/bin/doom sync

View file

@ -5,7 +5,6 @@ set -e
case $_PLATFORM in
darwin)
_recipe brew
_brew kakasi
_brew cmigemo
;;
linux)

View file

@ -8,7 +8,6 @@ case $_PLATFORM in
darwin)
_brew kubernetes-cli
_brew kubernetes-helm
_brew_cask minikube
_brew stern
;;
esac

View file

@ -2,7 +2,7 @@
# Description: The Python programming language
set -e
__PYTHON_VERSION=3.8.2
__PYTHON_VERSION=3.9.1
_recipe _path
_recipe git
@ -12,7 +12,16 @@ function _pip {
if ! pip show $pkg >/dev/null 2>&1; then
_run "[pip] Install $pkg" pip install $pkg
else
echo "[pip] $pkg is already installed, skiping."
echo "[pip] $pkg is already installed, skipping."
fi
}
function _pyenv {
local version=$1
if ! pyenv versions --bare | grep -q "^$version$"; then
_run "[pyenv] Install Python $version" pyenv install $version
else
echo "[pyenv] Python $version is already installed, skipping."
fi
}
@ -42,8 +51,5 @@ _profile 'eval "$(pyenv init -)"'
_profile 'eval "$(pyenv virtualenv-init -)"'
_profile 'pyenv global $(pyenv versions --bare --skip-aliases | egrep "^(\.?[[:digit:]]+)+$" | sort -rV)'
if ! [ -d ~/.pyenv/versions/${__PYTHON_VERSION} ]; then
_run "[pyenv] Install python ${__PYTHON_VERSION}" pyenv install ${__PYTHON_VERSION}
fi
pyenv global ${__PYTHON_VERSION}
_pyenv $__PYTHON_VERSION
pyenv global $(pyenv versions --bare --skip-aliases | egrep "^(\.?[[:digit:]]+)+$" | sort -rV)

View file

@ -23,7 +23,6 @@ case $_PLATFORM in
# File compression
_brew p7zip
_brew unrar
# Misc
_brew entr
@ -31,6 +30,7 @@ case $_PLATFORM in
_brew htop
_brew jq
_brew lnav
_brew ripgrep
_brew the_silver_searcher
_brew tig
_brew tmux
@ -52,7 +52,6 @@ case $_PLATFORM in
# File compression
_apt p7zip
_apt unrar
# Misc
_apt entr
@ -60,6 +59,7 @@ case $_PLATFORM in
_apt htop
_apt jq
_apt lnav
_apt ripgrep
_apt silversearcher-ag
_apt tig
_apt tmux