From fb34c5c93f4641c91027b18a22c13381c9e68bfc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 18 Aug 2016 15:52:01 +0100 Subject: [PATCH] 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. --- Formula/.rubocop.yml | 5 ----- Formula/brew-cask.rb | 24 ------------------------ 2 files changed, 29 deletions(-) delete mode 100644 Formula/.rubocop.yml delete mode 100644 Formula/brew-cask.rb diff --git a/Formula/.rubocop.yml b/Formula/.rubocop.yml deleted file mode 100644 index 1cf9069b71..0000000000 --- a/Formula/.rubocop.yml +++ /dev/null @@ -1,5 +0,0 @@ -inherit_from: - - ../.rubocop.yml - -Style/HashSyntax: - EnforcedStyle: hash_rockets diff --git a/Formula/brew-cask.rb b/Formula/brew-cask.rb deleted file mode 100644 index abd84aadd7..0000000000 --- a/Formula/brew-cask.rb +++ /dev/null @@ -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