Description:
added rakefile and .gitignore for spec, removed 'language hack' warning; compile script takes also 'cpp'
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r118:a9ececa861a0 - - 4 files changed: 20 inserted, 2 deleted
@@ -0,0 +1,14 | |||
|
1 | + require 'rake' | |
|
2 | + require 'spec/rake/spectask' | |
|
3 | + | |
|
4 | + desc "Run all examples" | |
|
5 | + Spec::Rake::SpecTask.new('spec') do |t| | |
|
6 | + t.spec_files = FileList['*spec.rb'] | |
|
7 | + end | |
|
8 | + | |
|
9 | + desc "Run all examples with RCov" | |
|
10 | + Spec::Rake::SpecTask.new('spec_with_rcov') do |t| | |
|
11 | + t.spec_files = FileList['*spec.rb'] | |
|
12 | + t.rcov = true | |
|
13 | + t.rcov_opts = ['--exclude', '.*_spec\.rb'] | |
|
14 | + end |
You need to be logged in to leave comments.
Login now