• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

builddoctor/maven-antsy-color: Maven ANSI colour wrapper to give you shiny, read ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

builddoctor/maven-antsy-color

开源软件地址(OpenSource Url):

https://github.com/builddoctor/maven-antsy-color

开源编程语言(OpenSource Language):

Shell 100.0%

开源软件介绍(OpenSource Introduction):

Output Highlighting for Maven

I miss Ant's AnsiColorLogger. So I found a blog post and another blog post, spent some time messing around, and decided to share the results on GitHub. It works by wrapping your wrapping your Maven command and then inserting ANSI colour codes in the output.

To Colorize Maven Output

  • put the file in a handy directory (like ~/scripts)
  • add a link to it in your .bashrc (or other shell's initialization file)
  • example below:
mkdir -p ${HOME}/scripts # make a place for the script to live  
cp mvn ${HOME}/scripts echo "[[ -s \"${HOME}/scripts/mvn\" ]] && source \"${HOME}/scripts/mvn\"" >> ${HOME}/.bashrc # add to RC file
. ${HOME}/bashrc # to re-read your bash configuration
  • alternatively, in recent Ubuntu Linux and OSX the default ~/.bashrc looks for alias additions in a separate file, that you can simply append to:
curl -L https://raw.github.com/builddoctor/maven-antsy-color/master/mvn >> ~/.bash_aliases

How do you spell 'colour'?

With a u in it. Until you realise that you're outnumbered by people who use the Georgian-era spelling




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
johan974/maven-multi-module-unittest-integrationtest-jacoco: Demo of Maven multi ...发布时间:2022-08-17
下一篇:
bdemers/maven-external-version发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap