Skip to content

Commit

Permalink
Make the tmux status-bg yellow while tests are running
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimiroff committed Nov 22, 2012
1 parent 04467e5 commit 52c55c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/go-red-green
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ if [ ! -z $1 ] && [ $1 == end ]; then
fi

clear
tmux set -g status-bg yellow
go test ./...

if [ $? == 0 ]; then
tmux set -g status-bg green
else
Expand Down

0 comments on commit 52c55c2

Please sign in to comment.