Snippets and thoughts from a passionate software developer interested in all things DevOps, Continuous Delivery, Functional Programming, Distributed Systems. Also on Twitter as @mcallana.
Sunday, September 12, 2010
mvn.bat -- change colour depending on build outcome
Got this idea from Erik Dornenburg at a Thoughtworks briefing...
Add to start of mvn.bat: @REM yellow on black color 0E
...
Append to end of mvn.bat: if ERRORLEVEL 1 goto red :green color 2f goto final :red color 4f :final