Show More
Commit Description:
change hashbang to /usr/bin/env ruby
Commit Description:
change hashbang to /usr/bin/env ruby
File last commit:
Show/Diff file:
Action:
test/rakefile | 14 lines | 339 B | text/plain | RubyLexer |
Jittat Fakcharoenphol
added rakefile and .gitignore for spec, removed 'language hack' warning; compile script takes also 'cpp'
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