Rakefile in jive-0.1.0 vs Rakefile in jive-0.2.0
- old
+ new
@@ -1,6 +1,14 @@
+# frozen_string_literal: true
+
require "bundler/gem_tasks"
-require "rspec/core/rake_task"
+require "rake/testtask"
+require "rubocop/rake_task"
-RSpec::Core::RakeTask.new(:spec)
+Rake::TestTask.new(:test) do |task|
+ task.libs << "lib"
+ task.libs << "test"
+ task.test_files = FileList["test/**/*_test.rb"]
+end
+RuboCop::RakeTask.new
-task :default => :spec
+task default: %i[test rubocop]