2

自动化代码审查工具-reviewdog

 2 years ago
source link: http://osp.io/archives/6943
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
自动化代码审查工具-reviewdog – 开源派

reviewdog是一款开源的自动化代码审查工具。基于Go语言编写,遵守MIT开源协议。无论任何编程语言,都可与其代码分析工具集成。可以通过与任何linter工具集成,将评审注释发布到代码托管服务。在发现需要审查的补丁时将其作为评论发布。 reviewdog还支持在本地环境中运行,通过 diff 过滤 lint 工具的输出。

ss_291926.jpg@596w_1l.jpg

# Install the latest version. (Install it into ./bin/ by default).
$ curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s

# Specify installation directory ($(go env GOPATH)/bin/) and version.
$ curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b $(go env GOPATH)/bin [vX.Y.Z]

# In alpine linux (as it does not come with curl by default)
$ wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s [vX.Y.Z]

sx_291922.jpg@596w_1l.jpg

https://github.com/reviewdog/reviewdog


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK