Skip to content
Snippets Groups Projects
Commit cea1d18f authored by Markus Reiter's avatar Markus Reiter
Browse files

Do not require `compat/hbc/cli/update` when `—no-compat` is specified.

parent ddaf1739
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,6 @@ require "hbc/cli/reinstall"
require "hbc/cli/search"
require "hbc/cli/style"
require "hbc/cli/uninstall"
require "compat/hbc/cli/update"
require "hbc/cli/zap"
require "hbc/cli/internal_use_base"
......@@ -77,6 +76,7 @@ module Hbc
def self.command_classes
@command_classes ||= constants.map(&method(:const_get))
.select { |sym| sym.respond_to?(:run) }
.sort_by(&:command_name)
end
def self.commands
......
require "tap"
module Hbc
module Locations
def self.included(base)
......
require "compat/hbc/cask_loader"
require "compat/hbc/cli/update"
require "cask/lib/hbc/cli/base"
module Hbc
class CLI
class Update < Base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment