Sha256: 5fbff160b99ea78ef5e778ab4265faf79a26517a3e04f4d54dce3e3e888ae31c

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

include_recipe 'common.rb'

execute 'Install brew-cask' do
  command 'brew install caskroom/cask/brew-cask'
  not_if 'brew list | grep -q brew-cask'
end

# Install apps
install_apps = node['brew']['install_apps']
install_apps.each do |app|
  execute "Install application: #{app}" do
    command "brew cask install #{app} --appdir=\'/Applications\'"
    not_if "brew cask list | grep -q #{app}"
  end
end

# Setup alfred
if install_apps.include?(:alfred)
  execute 'Setup alfred' do
    command 'brew cask alfred link'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
itamae-plugin-recipe-homebrew-0.0.3 lib/itamae/plugin/recipe/homebrew/cask.rb
itamae-plugin-recipe-homebrew-0.0.2 lib/itamae/plugin/recipe/homebrew/cask.rb
itamae-plugin-recipe-homebrew-0.0.1 lib/itamae/plugin/recipe/homebrew/cask.rb