diff options
| author | Markus Reiter | 2017-05-25 00:45:46 +0200 |
|---|---|---|
| committer | GitHub | 2017-05-25 00:45:46 +0200 |
| commit | e931fee732d9d8d34eb9d689782bafb3822302f7 (patch) | |
| tree | 8b827598a32dea11d3f9999e520bc93700117194 /Library/Homebrew/compat/hbc/cli.rb | |
| parent | a3e30a11d147da760c14cbbe00e50be53a468534 (diff) | |
| parent | 68a513083ebbd6a91a0fbb27daff0401edf7f47a (diff) | |
| download | brew-e931fee732d9d8d34eb9d689782bafb3822302f7.tar.bz2 | |
Merge pull request #2672 from reitermarkus/deprecate-caskroom-flag
Deprecate `--caskroom` flag.
Diffstat (limited to 'Library/Homebrew/compat/hbc/cli.rb')
| -rw-r--r-- | Library/Homebrew/compat/hbc/cli.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/hbc/cli.rb b/Library/Homebrew/compat/hbc/cli.rb new file mode 100644 index 000000000..0173bce9c --- /dev/null +++ b/Library/Homebrew/compat/hbc/cli.rb @@ -0,0 +1,19 @@ +require "cask/lib/hbc/cli/options" + +module Hbc + class CLI + include Options + + option "--binarydir=PATH", (lambda do |*| + opoo <<-EOS.undent + Option --binarydir is obsolete! + Homebrew-Cask now uses the same location as your Homebrew installation for executable links. + EOS + end) + + option "--caskroom=PATH", (lambda do |value| + Hbc.caskroom = value + odeprecated "`brew cask` with the `--caskroom` flag", disable_on: Time.utc(2017, 10, 31) + end) + end +end |
