Rakefile in rr-temp-demo-demo-0.1.1 vs Rakefile in rr-temp-demo-demo-0.1.3
- old
+ new
@@ -2,15 +2,14 @@
require "bundler/gem_tasks"
require "rake/testtask"
Rake::TestTask.new(:test) do |t|
+ require "rubocop/rake_task"
+ RuboCop::RakeTask.new
+
t.libs << "test"
t.libs << "lib"
t.test_files = FileList["test/**/*_test.rb"]
end
-
-require "rubocop/rake_task"
-
-RuboCop::RakeTask.new
task default: %i[test rubocop]