aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-01 20:15:17 +0200
committerMarkus Reiter2016-10-01 20:15:17 +0200
commit1eab17235ca80c86850d1079ccb255b076d4b557 (patch)
tree3b21e6e1a250fa6f0d01b567cffa8b7044673962 /Library/Homebrew
parent884b26850615d5624e09762e1ae8bc5b104a934a (diff)
downloadbrew-1eab17235ca80c86850d1079ccb255b076d4b557.tar.bz2
Add temporary compatibility layer for `Tty.white`.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/compat.rb1
-rw-r--r--Library/Homebrew/compat/utils.rb8
2 files changed, 9 insertions, 0 deletions
diff --git a/Library/Homebrew/compat.rb b/Library/Homebrew/compat.rb
index eabc7dfa0..98624aebd 100644
--- a/Library/Homebrew/compat.rb
+++ b/Library/Homebrew/compat.rb
@@ -15,3 +15,4 @@ require "compat/dependency_collector"
require "compat/language/haskell"
require "compat/xcode"
require "compat/software_spec"
+require "compat/utils"
diff --git a/Library/Homebrew/compat/utils.rb b/Library/Homebrew/compat/utils.rb
index 7de5e85c3..7b529f04e 100644
--- a/Library/Homebrew/compat/utils.rb
+++ b/Library/Homebrew/compat/utils.rb
@@ -8,3 +8,11 @@ def shell_profile
else "~/.bash_profile"
end
end
+
+module Tty
+ module_function
+
+ def white
+ reset.bold
+ end
+end