20 lines
348 B
Ruby
Raw Normal View History

2016-10-08 13:25:38 +02:00
require "compat/hbc/cask_loader"
require "compat/hbc/cli/update"
require "compat/hbc/cache"
require "compat/hbc/caskroom"
module Hbc
class << self
prepend(
Module.new do
def init
Cache.delete_legacy_cache
Caskroom.migrate_caskroom_from_repo_to_prefix
super
end
end,
)
end
end