From c46c07f648abd8357da3852422d826c684fbb4e1 Mon Sep 17 00:00:00 2001 From: Tray Torrance Date: Tue, 15 Nov 2011 09:06:15 -0800 Subject: [PATCH] Added color definition file at config/cap_colors.rb --- config/cap_colors.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/cap_colors.rb diff --git a/config/cap_colors.rb b/config/cap_colors.rb new file mode 100644 index 000000000..e5ca5516f --- /dev/null +++ b/config/cap_colors.rb @@ -0,0 +1,11 @@ +require 'capistrano_colors' + +capistrano_color_matchers = [ + # Full docs at https://github.com/stjernstrom/capistrano_colors/ + # Any priority above 0 will override capistrano_colors' defaults if needed + { :match => /^Deploying branch/, :color => :yellow, :prio => 20 }, +] + +capistrano_color_matchers.each do |matcher| + Capistrano::Logger::add_color_matcher( matcher ) +end