Formula/brew-cask.rb: remove old Cask formula. (#23890)

It's no longer needed as it's been an internal Homebrew command for
quite a while at this point.
This commit is contained in:
Mike McQuaid
2016-08-18 10:52:01 -04:00
committed by Josh Hagins
parent 9c5fe3656b
commit fb34c5c93f
2 changed files with 0 additions and 29 deletions
-5
View File
@@ -1,5 +0,0 @@
inherit_from:
- ../.rubocop.yml
Style/HashSyntax:
EnforcedStyle: hash_rockets
-24
View File
@@ -1,24 +0,0 @@
class BrewCask < Formula
homepage "https://github.com/caskroom/homebrew-cask/"
url "https://github.com/caskroom/homebrew-cask.git", :tag => "v0.60.1"
depends_on :ruby => "2.0"
UNINSTALL_MSG = <<-EOS.undent
You must uninstall this formula. It is no longer needed to stay up to date,
as Homebrew now takes care of that automatically.
EOS
def install
(buildpath / "UPGRADE").write UNINSTALL_MSG
prefix.install "UPGRADE"
end
def caveats
UNINSTALL_MSG
end
test do
system "brew", "cask", "info", "google-chrome"
end
end