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

Move `cask` to `cmd/`.

parent 29f431e8
No related branches found
No related tags found
No related merge requests found
......@@ -53,9 +53,6 @@ begin
ENV["PATH"] += "#{File::PATH_SEPARATOR}#{tap_cmd_dir}"
end
# Add cask commands to PATH.
ENV["PATH"] += "#{File::PATH_SEPARATOR}#{HOMEBREW_LIBRARY}/Homebrew/cask/cmd"
# Add SCM wrappers.
ENV["PATH"] += "#{File::PATH_SEPARATOR}#{HOMEBREW_SHIMS_PATH}/scm"
......
require "pathname"
$LOAD_PATH.unshift(File.expand_path("../../lib", Pathname.new(__FILE__).realpath))
require "hbc"
begin
Hbc::CLI.process(ARGV)
rescue Interrupt
puts
exit 130
end
$LOAD_PATH.unshift("#{HOMEBREW_LIBRARY_PATH}/cask/lib")
require "hbc"
module Homebrew
module_function
def cask
Hbc::CLI.process(ARGV)
end
end
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