Skip to content

Commit

Permalink
chore: Update lefthook.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Kiselev <[email protected]>
  • Loading branch information
mrexox committed Dec 2, 2022
1 parent 12cbb1c commit 7dfa158
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ pre-commit:
parallel: true
commands:
appraisal:
glob: "Appraisals"
files: git diff --name-only master
run: bundle exec appraisal install && git add gemfiles/*.gemfile
glob: "{Appraisals,*.gemfile}"
run: echo {staged_files} > /dev/null; bundle exec appraisal install && git add gemfiles/*.gemfile
rubocop:
glob: "{*.rb,*.gemspec,Gemfile,Rakefile}"
run: bundle exec rubocop -A {staged_files} && git add {staged_files}
Expand All @@ -18,5 +17,4 @@ pre-push:
commands:
rspec:
glob: "*.rb"
files: git diff --name-only master
run: bundle exec appraisal rspec
run: echo {push_files} > /dev/null; bundle exec appraisal rspec

0 comments on commit 7dfa158

Please sign in to comment.