diff --git a/.rubocop.yml b/.rubocop.yml index 33ce61d..19dc264 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,7 @@ require: - rubocop-minitest - rubocop-performance + - rubocop-rake AllCops: EnabledByDefault: true diff --git a/Gemfile b/Gemfile index b006ce7..5879881 100644 --- a/Gemfile +++ b/Gemfile @@ -12,3 +12,4 @@ gem 'rbs', '~> 3.4' gem 'rubocop', '~> 1.57' gem 'rubocop-minitest', '~> 0.33.0' gem 'rubocop-performance', '~> 1.19' +gem 'rubocop-rake', '~> 0.6.0' diff --git a/Rakefile b/Rakefile index 9f6e55c..469070d 100644 --- a/Rakefile +++ b/Rakefile @@ -4,7 +4,9 @@ require 'bundler/gem_tasks' require 'rake/extensiontask' require 'rake/testtask' +desc 'Run tests' task test: :compile + task default: :test Rake::ExtensionTask.new('ilios') do |ext|