Skip to content
代码片段 群组 项目
  • Peter Leitzen's avatar
    fa9c94ac
    CI: Fail jobs on RuboCop warnings · fa9c94ac
    Peter Leitzen 创作于
    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.
    fa9c94ac
    历史
    CI: Fail jobs on RuboCop warnings
    Peter Leitzen 创作于
    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.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。