<p>Hi <a href="https://www.reddit.com/r/golang" rel="nofollow">/r/golang</a>,</p>
<p>i added a <a href="https://github.com/SimonWaldherr/golibs/blob/master/pre-commit" rel="nofollow">pre-commit git hook</a> (<a href="https://www.kernel.org/pub/software/scm/git/docs/githooks.html" rel="nofollow">about git hooks</a>) to my <a href="https://simonwaldherr.de/go/golibs/" rel="nofollow">golibs</a>-Repo. Here is what it does: </p>
<ul>
<li>build all packages and write build status for each to README.md</li>
<li>build the full repo and write the status to a table in README.md</li>
<li>run all tests and write test coverage for each to README.md</li>
<li>create a coverage log file and stage it via git add</li>
<li>all other tests are done via Webhooks triggered by GitHub</li>
</ul>
<p>what do you think?</p>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传