2014-06-29 08:33:03 +08:00
|
|
|
module HomebrewTestingEnvironment
|
|
|
|
def self.included(base)
|
|
|
|
# force some environment variables
|
|
|
|
ENV['HOMEBREW_NO_EMOJI']='1'
|
|
|
|
|
|
|
|
# require homebrew testing env
|
|
|
|
with_disabled_at_exit do
|
2014-12-31 20:57:18 +08:00
|
|
|
# todo: removeme, this is transitional
|
|
|
|
require 'vendor/homebrew-fork/testing_env'
|
2014-06-29 08:33:03 +08:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|