Refactor various install_*_global_packages functions

This commit is contained in:
2019-12-27 22:37:03 +00:00
parent e7ef71b49a
commit 1aefb225bc
3 changed files with 48 additions and 39 deletions

View File

@@ -3,20 +3,23 @@
#
install_ruby_global_packages () {
gem install --no-document \
brakeman \
'bundler:~> 1.0' \
'bundler:~> 2.0' \
bundler-audit \
foreman \
lunchy \
method_source \
pry-doc \
rbenv-rehash \
reek \
rubocop \
seeing_is_believing \
solargraph
local packages=(
'bundler:~> 1.0'
'bundler:~> 2.0'
brakeman
bundler-audit
foreman
lunchy
method_source
pry-doc
rbenv-rehash
reek
rubocop
seeing_is_believing
solargraph
)
gem install --no-document "${packages[@]}"
}
# Aliases