Skip to content
代码片段 群组 项目
未验证 提交 fa9c94ac 编辑于 作者: Peter Leitzen's avatar Peter Leitzen
浏览文件

CI: Fail jobs on RuboCop warnings

Usage:
  fail_on_warnings "some command" || exit 1
  run_timed_command "fail_on_warnings some command"

Example:
  $ run_timed_command "fail_on_warnings ls invalid"
  $ fail_on_warnings ls invalid
  There were warnings:
  ls: cannot access 'invalid': No such file or directory
  ==> 'fail_on_warnings ls invalid' failed (1) in 0 seconds.
上级 52954d99
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册