22 lines
374 B
Ruby
Raw Normal View History

require "compat/cask/cache"
require "compat/cask/cask_loader"
require "compat/cask/caskroom"
require "compat/cask/dsl"
2018-09-06 08:29:14 +02:00
module Cask
class << self
2018-05-17 19:13:37 +02:00
module Compat
def init
Cache.delete_legacy_cache
2017-03-06 21:28:34 +01:00
2018-05-17 19:13:37 +02:00
Caskroom.migrate_caskroom_from_repo_to_prefix
Caskroom.migrate_legacy_caskroom
2018-05-17 19:13:37 +02:00
super
end
end
prepend Compat
end
end