Skip to content

Commit

Permalink
Merge pull request #231 from rudle/rudle.fix-install-brew-cask
Browse files Browse the repository at this point in the history
"brew cask" is no longer installable via `brew install`
  • Loading branch information
rudle authored Dec 13, 2016
2 parents 45ab190 + 5c828e4 commit ddae040
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,9 @@ namespace :install do
task :brew_cask do
step 'Homebrew Cask'
system('brew untap phinze/cask') if system('brew tap | grep phinze/cask > /dev/null')
unless system('brew tap | grep caskroom/cask > /dev/null') || system('brew tap caskroom/homebrew-cask')
abort "Failed to tap caskroom/homebrew-cask in Homebrew."
unless system('brew tap | grep caskroom/cask > /dev/null') || system('brew tap caskroom/cask')
abort "Failed to tap caskroom/cask in Homebrew."
end

brew_install 'brew-cask'
end

desc 'Install The Silver Searcher'
Expand Down

0 comments on commit ddae040

Please sign in to comment.