Skip to content

Instantly share code, notes, and snippets.

@ota42y
Created May 31, 2017 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ota42y/9b6067ae76d850249c370de4f8e1d50d to your computer and use it in GitHub Desktop.
Save ota42y/9b6067ae76d850249c370de4f8e1d50d to your computer and use it in GitHub Desktop.
git diff -z — name-only origin/master | xargs -0 bundle exec rubocop-select | xargs bundle exec rubocop — require rubocop/formatter/checkstyle_formatter — format RuboCop::Formatter::CheckstyleFormatter | RUBYOPT=-EUTF-8 bundle exec checkstyle_filter-git diff origin/master | RUBYOPT=-EUTF-8 bundle exec saddler report — require saddler/reporter/github — reporter Saddler::Reporter::Github::PullRequestReviewComment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment