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