2017-10-30 22:04:54 +01:00

25 lines
478 B
Ruby

require "compat/hbc/cask_loader"
require "compat/hbc/cli/update"
require "compat/hbc/cache"
require "compat/hbc/caskroom"
require "compat/hbc/cli"
require "compat/hbc/dsl"
require "compat/hbc/system_command"
module Hbc
class << self
prepend(
Module.new do
def init
Cache.delete_legacy_cache
Caskroom.migrate_caskroom_from_repo_to_prefix
Caskroom.migrate_legacy_caskroom
super
end
end,
)
end
end