Sha256: 98d5f292cf2913c4887d82424bf412faeb4b259da4b9dd0aaab509323ff379c1
Contents?: true
Size: 341 Bytes
Versions: 3
Compression:
Stored size: 341 Bytes
Contents
#!/bin/sh rake spec valid=$? if [[ $valid -ne 0 ]]; then exit $valid fi for file in $(git diff-index --name-only --diff-filter AM --cached HEAD); do if (echo $file | egrep -q '(\.rb|Gemfile|Rakefile|\.gemspec)$') then bundle exec rubocop --force-exclusion $file valid=$(( $valid == 0 ? $? : $valid )) fi done exit $valid
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bitmask_enum-1.1.1 | pre-commit |
bitmask_enum-1.1.0 | pre-commit |
bitmask_enum-1.0.0 | pre-commit |