itamae-plugin-recipe-homebrew
Plugin to support the HomeBrew for Itamae
Installation
Add this line to your application's Gemfile:
gem 'itamae-plugin-recipe-homebrew'
And then execute:
$ bundle
Or install it yourself as:
$ gem install itamae-plugin-recipe-homebrew
Usage
Recipe
your recipe example
include_recipe 'homebrew::package'
include_recipe 'homebrew::cask'
Node
case was an example the yaml
your node example
brew:
enable_update: false
enable_upgrade: false
add_repositories:
- homebrew/dupes
- homebrew/versions
- homebrew/binary
- peco/peco
- motemen/ghq
install_packages:
- brew-cask
- coreutils
- findutils
- zsh
- bash
- vim
- tmux
- git
- hub
- tig
- ghq
- imagemagick
- wget
- rsync
- curl
- tree
- openssl
- libyaml
- readline
- markdown
- jq
- peco
- ctags
- rbenv
- ruby-build
- mysql
- postgresql
- node
- redis
- rbenv
- ruby-build
install_apps:
- google-chrome
- iterm2
- virtualbox
- vagrant
- vagrant-manager
- google-japanese-ime
- dash
- github
- xtrafinder
- appcleaner
- bettertouchtool
Description of Option
-
enable_update : run the
brew update
If true -
enable_upgrade : run the
brew upgrade
If true -
add_repositories : run the
brew tap XXXXX
. To specify the repositories you want to add an array -
install_packages : run the
brew install XXXXX
. To specify the packages you want to add an array -
install_apps : run the
brew cask instal
. To specify the applications you want to add an array
Contributing
- Fork it ( https://github.com/fukuiretu/itamae-plugin-recipe-homebrew/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request