diff options
Diffstat (limited to 'scripts/lint-vendored-gems.sh')
-rwxr-xr-x | scripts/lint-vendored-gems.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lint-vendored-gems.sh b/scripts/lint-vendored-gems.sh new file mode 100755 index 00000000000..ac8b837bbd1 --- /dev/null +++ b/scripts/lint-vendored-gems.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +# Rubocop doesn't have a good way to run excluded files without a separate invocation: +# https://github.com/rubocop/rubocop/issues/6323 +find vendor/gems -name \*.gemspec | xargs bundle exec rubocop --only Gemspec/AvoidExecutingGit |