48 lines
784 B
Ruby
48 lines
784 B
Ruby
![]() |
|
||
|
# maybe never used by anyone, but alas it must continue to exist
|
||
|
def versions_of(keg_name)
|
||
|
`/bin/ls #{HOMEBREW_CELLAR}/#{keg_name}`.collect { |version| version.strip }.reverse
|
||
|
end
|
||
|
|
||
|
def dump_config
|
||
|
require 'cmd/--config'
|
||
|
Homebrew.__config
|
||
|
end
|
||
|
|
||
|
def dump_build_env env
|
||
|
require 'cmd/--env'
|
||
|
Homebrew.dump_build_env env
|
||
|
end
|
||
|
|
||
|
def gcc_42_build
|
||
|
MacOS.gcc_42_build_version
|
||
|
end
|
||
|
|
||
|
alias :gcc_build :gcc_42_build
|
||
|
|
||
|
def gcc_40_build
|
||
|
MacOS.gcc_40_build_version
|
||
|
end
|
||
|
|
||
|
def llvm_build
|
||
|
MacOS.llvm_build_version
|
||
|
end
|
||
|
|
||
|
def x11_installed?
|
||
|
MacOS.x11_installed?
|
||
|
end
|
||
|
|
||
|
def macports_or_fink_installed?
|
||
|
MacOS.macports_or_fink_installed?
|
||
|
end
|
||
|
|
||
|
def outdated_brews
|
||
|
require 'cmd/outdated'
|
||
|
Homebrew.outdated_brews
|
||
|
end
|
||
|
|
||
|
def search_brews text
|
||
|
require 'cmd/search'
|
||
|
Homebrew.search_brews text
|
||
|
end
|