mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-16 22:06:43 -06:00
and corresponding testing_env.rb. * recast HOMEBREW_BREW_FILE as Hbc.homebrew_executable, defined in Hbc::Locations * recast HOMEBREW_REPOSITORY as Hbc.homebrew_repository * recast HOMEBREW_PREFIX as Hbc.homebrew_prefix * remove HOMEBREW_LIBRARY * recast existing Hbc.tapspath as Hbc.homebrew_tapspath to match new methods fixes #8705
12 lines
309 B
Ruby
12 lines
309 B
Ruby
module HomebrewTestingEnvironment
|
|
def self.included(base)
|
|
# force some environment variables
|
|
ENV['HOMEBREW_NO_EMOJI']='1'
|
|
|
|
# require homebrew testing env
|
|
with_disabled_at_exit do
|
|
# todo: removeme, this is transitional
|
|
require 'vendor/homebrew-fork/testing_env'
|
|
end
|
|
end
|
|
end
|