mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-16 22:06:43 -06:00
* convert existing Cask:: namespace to Hbc:: * move Homebrew-fork code under Hbc:: * move freestanding classes such as Tty and TopologicalHash under Hbc:: * recast HOMEBREW_CASK_ constants as HBC_ * modify our Homebrew Formula for backward compatibility * devscripts and dev docs
19 lines
453 B
Ruby
19 lines
453 B
Ruby
#!/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -EUTF-8:UTF-8
|
|
# encoding: UTF-8
|
|
|
|
# just in case
|
|
if RUBY_VERSION.to_i < 2
|
|
raise 'brew-cask: Ruby 2.0 or greater is required.'
|
|
end
|
|
|
|
require 'pathname'
|
|
|
|
$LOAD_PATH.unshift(File.expand_path('..', Pathname.new(__FILE__).realpath))
|
|
|
|
# todo remove internal Homebrew dependencies and remove this line
|
|
require 'vendor/homebrew-fork/global'
|
|
|
|
require 'hbc'
|
|
|
|
Hbc::CLI.process(ARGV)
|
|
exit 0
|
|
|