diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/dsl.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_cask.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/dsl.rb b/Library/Homebrew/cask/lib/hbc/dsl.rb index f074830cb..f8ed2bef5 100644 --- a/Library/Homebrew/cask/lib/hbc/dsl.rb +++ b/Library/Homebrew/cask/lib/hbc/dsl.rb @@ -204,6 +204,10 @@ module Hbc @sha256 ||= arg end + def license(arg = nil) + odeprecated "Hbc::DSL#license" + end + # depends_on uses a load method so that multiple stanzas can be merged def depends_on(*args) return @depends_on if args.empty? diff --git a/Library/Homebrew/test/test_cask.rb b/Library/Homebrew/test/test_cask.rb index 6f4f4601a..6cae6d54b 100644 --- a/Library/Homebrew/test/test_cask.rb +++ b/Library/Homebrew/test/test_cask.rb @@ -5,6 +5,6 @@ class IntegrationCommandTestCask < IntegrationCommandTestCase needs_test_cmd_taps needs_macos setup_remote_tap("caskroom/cask") - cmd("cask", "list") + cmd("cask", "list", "--caskroom=#{HOMEBREW_PREFIX}/Caskroom") end end |
