Rakefile in rbs-3.2.0.pre.1 vs Rakefile in rbs-3.2.0
- old
+ new
@@ -80,11 +80,11 @@
task test => :compile do
sh "#{ruby} -Ilib #{bin}/test_runner.rb #{test}"
end
end
-task :stdlib_test do
+task :stdlib_test => :compile do
test_files = FileList["test/stdlib/**/*_test.rb"].reject do |path|
path =~ %r{Ractor}
end
sh "#{ruby} -Ilib #{bin}/test_runner.rb #{test_files.join(' ')}"
# TODO: Ractor tests need to be run in a separate process
@@ -312,10 +312,10 @@
end
desc "Generate changelog template from GH pull requests"
task :changelog do
- major, minor, patch, pre = RBS::VERSION.split(".", 4)
+ major, minor, patch, _pre = RBS::VERSION.split(".", 4)
major = major.to_i
minor = minor.to_i
patch = patch.to_i
if patch == 0