Rakefile in search_lingo-2.0.0.pre2 vs Rakefile in search_lingo-2.0.0.pre3
- old
+ new
@@ -1,9 +1,15 @@
-require "bundler/gem_tasks"
+# frozen-string-literal: true
+
+require 'bundler/gem_tasks'
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << 'test'
- t.pattern = 'test/**/test_*.rb'
+ t.pattern = 'test/**/*_test.rb'
end
task default: :test
+
+task :rubocop do
+ system 'rubocop'
+end