24 lines
442 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"
2017-05-23 17:37:37 +02:00
require "compat/hbc/cli"
2017-07-15 14:46:11 +02:00
require "compat/hbc/dsl"
module Hbc
class << self
prepend(
Module.new do
def init
Cache.delete_legacy_cache
2017-03-06 21:28:34 +01:00
Caskroom.migrate_caskroom_from_repo_to_prefix
2017-03-06 21:28:34 +01:00
Caskroom.migrate_legacy_caskroom
super
end
end,
)
end
end