debian-mirror-gitlab/scripts/lint-vendored-gems.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
242 B
Bash
Raw Normal View History

2022-08-27 11:52:29 +05:30
#!/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