1
0
Fork 0

Improve Rakefile

This commit is contained in:
Alex Kotov 2018-12-05 04:20:52 +05:00
parent 27856fce42
commit 617aaf6810
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
1 changed files with 2 additions and 2 deletions

View File

@ -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'