Skip to content

Instantly share code, notes, and snippets.

@RobSis

RobSis/conf.mvn

Created Oct 8, 2014
Embed
What would you like to do?
A grc module for colourising the maven outputs
# a grc module for colourising the maven outputs
regexp=^\[WARNING\]
colours=bold yellow
count=once
-
regexp=^\[ERROR\]
colours=bold red
count=once
-
# Passed
regexp=.* SUCCESS \[.*
colours=green
count=stop
-
regexp=.* BUILD SUCCESS
colours=green
count=stop
-
# Failed
regexp=(BUILD)? (failed|FAILURE|FAILED|FAIL)
colours=bold red
count=stop
-
regexp=Failures: [0-9]+
colours=bold green
count=once
-
regexp=Errors: [0-9]+
colours=bold red
count=once
-
# this is probably a pathname
regexp=~?([a-z_][a-z0-9_]{0,30})?/([^\0\n\ !$`&*()+]|\\\ )+\b/?
colours=blue
count=more
@andrewdacenko

This comment has been minimized.

Copy link

@andrewdacenko andrewdacenko commented Jan 28, 2015

Nice conf! Thanks for sharing 👍

@sarnobat

This comment has been minimized.

Copy link

@sarnobat sarnobat commented Jan 18, 2017

I was about to lament my inertia about abandoning my own customizations, but I just remembered grcat makes it easy to switch different configurations. Man I love grcat.

@sarnobat

This comment has been minimized.

Copy link

@sarnobat sarnobat commented Jan 18, 2017

Sadly this isn't so nice on dark backgrounds. But nonetheless thanks for the efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.