Skip to content

Instantly share code, notes, and snippets.

@jwilsjustin
Created July 19, 2021 19:13
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 jwilsjustin/bf82a88b66e7a05e43a4a26eb9256c74 to your computer and use it in GitHub Desktop.
Save jwilsjustin/bf82a88b66e7a05e43a4a26eb9256c74 to your computer and use it in GitHub Desktop.
#!/bin/sh
files=$(git status -s | grep -E 'A|M' | awk '{print $2}')
files="$files $(git status -s | grep -E 'R' | awk '{print $4}')"
echo $files | xargs bundle exec standardrb --format progress --no-fix --display-cop-names --extra-details --force-exclusion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment