Move Hbc::DSL#license to compat.

This commit is contained in:
Markus Reiter 2017-07-15 14:46:11 +02:00 committed by Mike McQuaid
parent 2d18ba586b
commit 9578e2995a
3 changed files with 8 additions and 4 deletions

View File

@ -203,10 +203,6 @@ module Hbc
@sha256 ||= arg @sha256 ||= arg
end end
def license(*)
odeprecated "Hbc::DSL#license"
end
# depends_on uses a load method so that multiple stanzas can be merged # depends_on uses a load method so that multiple stanzas can be merged
def depends_on(*args) def depends_on(*args)
@depends_on ||= DSL::DependsOn.new @depends_on ||= DSL::DependsOn.new

View File

@ -3,6 +3,7 @@ require "compat/hbc/cli/update"
require "compat/hbc/cache" require "compat/hbc/cache"
require "compat/hbc/caskroom" require "compat/hbc/caskroom"
require "compat/hbc/cli" require "compat/hbc/cli"
require "compat/hbc/dsl"
module Hbc module Hbc
class << self class << self

View File

@ -0,0 +1,7 @@
module Hbc
class DSL
def license(*)
odeprecated "Hbc::DSL#license"
end
end
end