Permalink
Browse files

Added color definition file at config/cap_colors.rb

  • Loading branch information...
1 parent bbc1651 commit c46c07f648abd8357da3852422d826c684fbb4e1 @torrancew torrancew committed Nov 15, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 config/cap_colors.rb
View
11 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

0 comments on commit c46c07f

Please sign in to comment.