Sha256: 64ba3144d0ef0594f90e0576cf361b8519406c3a3dcbe7ed3ccf2ff96dad864d
Contents?: true
Size: 821 Bytes
Versions: 5
Compression:
Stored size: 821 Bytes
Contents
# Lefthook configuration. For more information, see: # https://github.com/Arkweid/lefthook/blob/master/docs/full_guide.md pre-push: parallel: true commands: # Run ruby linting rubocop: files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD glob: '*.{rb,rake}' run: bundle exec rubocop --parallel --force-exclusion {files} # Run only relevant specs. rspec: files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD run: | tests=$(tff --mapping-file .tests_mapping.yml {files}) if [ "$tests" != "" ]; then echo "bundle exec rspec --format progress $tests" bundle exec rspec --format progress $tests else echo "No specs to run." exit 0 fi
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
gitlab-styles-13.0.1 | lefthook.yml |
gitlab-styles-13.0.0 | lefthook.yml |
gitlab-styles-11.0.0 | lefthook.yml |
gitlab-styles-10.1.0 | lefthook.yml |
gitlab-styles-10.0.0 | lefthook.yml |