Sha256: d5922c2fcb6ea144ea40cf7d157cc47a6a8c7e7921da31ea3399458ff7bc0087

Contents?: true

Size: 692 Bytes

Versions: 1

Compression:

Stored size: 692 Bytes

Contents

# Lefthook configuration. For more information, see:
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md

pre-push:
  parallel: true
  commands:
    # Run all tests (warn if there are any missing tools required for tests).
    # Run undercover, looking for missing test coverage
    rspec:
      files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
      run: bundle exec rspec -f progress
      glob: '*.rb'

    # 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}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_file_finder-0.3.0 lefthook.yml