mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
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:
committed by
Josh Hagins
parent
9c5fe3656b
commit
fb34c5c93f
@@ -1,5 +0,0 @@
|
||||
inherit_from:
|
||||
- ../.rubocop.yml
|
||||
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: hash_rockets
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user