Rename Rakefile -> Rakefile.rb
This commit is contained in:
parent
072af73b1e
commit
be6a9ca2c1
@ -15,6 +15,7 @@ RSpec::Core::RakeTask.new(:spec, :example_pattern) do |task, args|
|
||||
end
|
||||
end
|
||||
task :spec do |task, args|
|
||||
unless ENV["dist_specs"]
|
||||
original_stdout = $stdout
|
||||
sio = StringIO.new
|
||||
$stdout = sio
|
||||
@ -23,6 +24,7 @@ task :spec do |task, args|
|
||||
sio.string.lines.each do |line|
|
||||
$stdout.write(line) unless line =~ /Coverage report generated for/
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# dspec task is useful to test the distributable release script, but is not
|
||||
Loading…
x
Reference in New Issue
Block a user