2016-10-08 13:25:38 +02:00
|
|
|
require "compat/hbc/cask_loader"
|
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
|
|
|
|
prepend(
|
|
|
|
Module.new do
|
|
|
|
def init
|
|
|
|
Cache.delete_legacy_cache
|
2017-03-06 21:28:34 +01:00
|
|
|
|
2017-03-06 21:49:35 +01:00
|
|
|
Caskroom.migrate_caskroom_from_repo_to_prefix
|
2017-03-06 21:28:34 +01:00
|
|
|
Caskroom.migrate_legacy_caskroom
|
2017-03-06 21:49:35 +01:00
|
|
|
|
|
|
|
super
|
|
|
|
end
|
|
|
|
end,
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|