From 0e8ec8610401b147f5d567e8d5201050304a6b4c Mon Sep 17 00:00:00 2001 From: Watson Date: Sat, 8 Jun 2024 01:39:15 +0900 Subject: [PATCH] Rubucop: Add rubocop-rake --- .rubocop.yml | 1 + Gemfile | 1 + Rakefile | 2 ++ 3 files changed, 4 insertions(+) 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|