Rakefile in expressir-1.4.2-aarch64-linux-gnu vs Rakefile in expressir-2.0.0
- old
+ new
@@ -1,17 +1,16 @@
+# frozen_string_literal: true
+
require "bundler/gem_tasks"
require "rspec/core/rake_task"
-require "rake/extensiontask"
-require "rubocop/rake_task"
-require "yard"
RSpec::Core::RakeTask.new(:spec)
-task default: :spec
+require "rubocop/rake_task"
-GEMSPEC = Gem::Specification.load("expressir.gemspec")
-
RuboCop::RakeTask.new
-Gem::PackageTask.new(GEMSPEC).define
+task default: %i[spec rubocop]
+
+require "yard"
YARD::Rake::YardocTask.new