Rename Rakefile -> Rakefile.rb

This commit is contained in:
josh committed 2026-02-07 19:18:25 -05:00
1 parent 072af73b1e
commit be6a9ca2c1
1 file changed
+9 -7
+9 -7
View File
@@ -15,13 +15,15 @@ RSpec::Core::RakeTask.new(:spec, :example_pattern) do |task, args|
end
end
task :spec do |task, args|
original_stdout = $stdout
sio = StringIO.new
$stdout = sio
SimpleCov.collate Dir["coverage/.resultset.json"]
$stdout = original_stdout
sio.string.lines.each do |line|
$stdout.write(line) unless line =~ /Coverage report generated for/
unless ENV["dist_specs"]
original_stdout = $stdout
sio = StringIO.new
$stdout = sio
SimpleCov.collate Dir["coverage/.resultset.json"]
$stdout = original_stdout
sio.string.lines.each do |line|
$stdout.write(line) unless line =~ /Coverage report generated for/
end
end
end