-
Notifications
You must be signed in to change notification settings - Fork 0
/
caprc
executable file
·40 lines (36 loc) · 953 Bytes
/
caprc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
require 'capistrano_colors'
# == Example:
capistrano_color_matchers = [
{ :match => /command finished/, :color => :hide, :prio => 10 },
{ :match => /executing command/, :color => :blue, :prio => 10,
:attribute => :underscore },
{ :match => /^transaction: commit$/, :color => :magenta, :prio => 10,
:attribute => :blink },
{ :match => /git/, :color => :white, :prio => 20,
:attribute => :reverse },
]
#
colorize( capistrano_color_matchers )
# == Colors:
# :color can have the following values:
# * :hide (hides the row completely)
# * :none
# * :black
# * :red
# * :green
# * :yellow
# * :blue
# * :magenta
# * :cyan
# * :white
#
# == Attributes:
#
# :attribute can have the following values:
# * :bright
# * :dim
# * :underscore
# * :blink
# * :reverse
# * :hidden
# vim: syntax=ruby