summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-24 13:55:29 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-24 13:55:29 +0100
commit1d1767de951cb18ca0fb28d8b30e699cc7c94a19 (patch)
treeb09cab7dd344fffb317e1ac48f74ff60bc0928a6 /etc
parentb2700af7df4343ca0c44d626a3d17b48f8b3a693 (diff)
downloadjenkins.debian.net-1d1767de951cb18ca0fb28d8b30e699cc7c94a19.tar.xz
add forgotten colorit.conf
Diffstat (limited to 'etc')
-rw-r--r--etc/colorit.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/etc/colorit.conf b/etc/colorit.conf
new file mode 100644
index 00000000..09abecf0
--- /dev/null
+++ b/etc/colorit.conf
@@ -0,0 +1,29 @@
+dnl /srv/jenkins/colorit.conf vim:ft=m4
+dnl
+dnl Sample configuration file for colorit(1) program
+dnl
+divert(-1)
+dnl
+dnl Define some useful color variables
+dnl
+define(`black', `0')
+define(`red', `1')
+define(`green', `2')
+define(`brown', `3')
+define(`blue', `4')
+define(`magenta', `5')
+define(`cyan', `6')
+define(`white', `7')
+dnl
+dnl Mark macro arguments: regexp foreground-color [background-color]
+dnl
+define(`mark', ``mark "$1"'' `ifelse(`$#', `3', ``"\033[3$2;4$3m"'', ``"\033[3$2m"'')' `"\033[m"')
+dnl
+divert
+mark(`Jenkins',blue)
+mark(`unstable',brown)
+mark(`became',became)
+mark(`failed',red)
+mark(` stable',green)
+mark(`<.*>',cyan)
+