aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMarkus Reiter2017-07-15 14:46:11 +0200
committerMike McQuaid2017-07-21 10:50:10 +0100
commit9578e2995af79e93583c60e667a3db439a14b697 (patch)
tree8615a84147c9b2afbd5e44fdde712e5e37f9e951 /Library/Homebrew/compat
parent2d18ba586b3250062cd58c8f5af81fc30a35bb5f (diff)
downloadbrew-9578e2995af79e93583c60e667a3db439a14b697.tar.bz2
Move `Hbc::DSL#license` to `compat`.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/hbc.rb1
-rw-r--r--Library/Homebrew/compat/hbc/dsl.rb7
2 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/hbc.rb b/Library/Homebrew/compat/hbc.rb
index 3ff8fccb7..608d46e37 100644
--- a/Library/Homebrew/compat/hbc.rb
+++ b/Library/Homebrew/compat/hbc.rb
@@ -3,6 +3,7 @@ require "compat/hbc/cli/update"
require "compat/hbc/cache"
require "compat/hbc/caskroom"
require "compat/hbc/cli"
+require "compat/hbc/dsl"
module Hbc
class << self
diff --git a/Library/Homebrew/compat/hbc/dsl.rb b/Library/Homebrew/compat/hbc/dsl.rb
new file mode 100644
index 000000000..b550501ed
--- /dev/null
+++ b/Library/Homebrew/compat/hbc/dsl.rb
@@ -0,0 +1,7 @@
+module Hbc
+ class DSL
+ def license(*)
+ odeprecated "Hbc::DSL#license"
+ end
+ end
+end