Move Hbc::DSL#license to compat.
This commit is contained in:
parent
2d18ba586b
commit
9578e2995a
@ -203,10 +203,6 @@ module Hbc
|
||||
@sha256 ||= arg
|
||||
end
|
||||
|
||||
def license(*)
|
||||
odeprecated "Hbc::DSL#license"
|
||||
end
|
||||
|
||||
# depends_on uses a load method so that multiple stanzas can be merged
|
||||
def depends_on(*args)
|
||||
@depends_on ||= DSL::DependsOn.new
|
||||
|
||||
@ -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
|
||||
|
||||
7
Library/Homebrew/compat/hbc/dsl.rb
Normal file
7
Library/Homebrew/compat/hbc/dsl.rb
Normal file
@ -0,0 +1,7 @@
|
||||
module Hbc
|
||||
class DSL
|
||||
def license(*)
|
||||
odeprecated "Hbc::DSL#license"
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user