2016-10-08 13:25:38 +02:00
|
|
|
require "compat/hbc/cask_loader"
|
2018-06-09 15:40:44 +02:00
|
|
|
require "compat/hbc/cli/search"
|
2016-12-30 16:13:09 +01:00
|
|
|
require "compat/hbc/cli/update"
|
2017-03-06 21:49:35 +01:00
|
|
|
require "compat/hbc/cache"
|
|
|
|
require "compat/hbc/caskroom"
|
2017-05-23 17:37:37 +02:00
|
|
|
require "compat/hbc/cli"
|
2017-07-15 14:46:11 +02:00
|
|
|
require "compat/hbc/dsl"
|
2017-03-06 21:49:35 +01:00
|
|
|
|
|
|
|
module Hbc
|
|
|
|
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
|
2017-03-06 21:49:35 +01:00
|
|
|
|
2018-05-17 19:13:37 +02:00
|
|
|
super
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
prepend Compat
|
2017-03-06 21:49:35 +01:00
|
|
|
end
|
|
|
|
end
|