Move cask to cmd/.
This commit is contained in:
parent
29f431e85e
commit
3e7f94d5b5
@ -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"
|
||||
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
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
|
||||
10
Library/Homebrew/cmd/cask.rb
Normal file
10
Library/Homebrew/cmd/cask.rb
Normal file
@ -0,0 +1,10 @@
|
||||
$LOAD_PATH.unshift("#{HOMEBREW_LIBRARY_PATH}/cask/lib")
|
||||
require "hbc"
|
||||
|
||||
module Homebrew
|
||||
module_function
|
||||
|
||||
def cask
|
||||
Hbc::CLI.process(ARGV)
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user