Show More
Commit Description:
change hashbang to /usr/bin/env ruby
Commit Description:
change hashbang to /usr/bin/env ruby
References:
File last commit:
Show/Diff file:
Action:
test/rakefile
| 14 lines
| 339 B
| text/plain
| RubyLexer
|
|
r118 | require 'rake' | ||
require 'spec/rake/spectask' | ||||
desc "Run all examples" | ||||
Spec::Rake::SpecTask.new('spec') do |t| | ||||
t.spec_files = FileList['*spec.rb'] | ||||
end | ||||
desc "Run all examples with RCov" | ||||
Spec::Rake::SpecTask.new('spec_with_rcov') do |t| | ||||
t.spec_files = FileList['*spec.rb'] | ||||
t.rcov = true | ||||
t.rcov_opts = ['--exclude', '.*_spec\.rb'] | ||||
end | ||||