aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/hbc.rb
blob: e60bdbc07a9cd641aa74efc427acbe6748f3fd0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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