Improve Rakefile
This commit is contained in:
parent
27856fce42
commit
617aaf6810
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -5,10 +5,10 @@ require_relative 'config/application'
|
|||
Rails.application.load_tasks
|
||||
|
||||
desc 'Run all checks (test, lint...)'
|
||||
task default: %i[lint bundler:audit]
|
||||
task default: :lint
|
||||
|
||||
desc 'Run all code analysis tools (RuboCop...)'
|
||||
task lint: :rubocop
|
||||
task lint: %i[rubocop bundler:audit]
|
||||
|
||||
desc 'Fix code style (rubocop --auto-correct)'
|
||||
task fix: 'rubocop:auto_correct'
|
||||
|
|
Reference in a new issue